<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Thanks Michael, would you mind trying the following? I've discovered
    that I never see the event when I add a "Unique-ID" header:<br>
    <br>
    does not work:<br>
    <br>
    sendevent CUSTOM<br>
    Event-Name: CUSTOM<br>
    Event-Subclass: my::event<br>
    Unique-ID: ec13a91a-1067-11e1-a184-efefb30e1896<br>
    <br>
    works:<br>
    <br>
    sendevent CUSTOM<br>
    Event-Name: CUSTOM<br>
    Event-Subclass: my::event<br>
    <br>
    works:<br>
    <br>
    sendevent CUSTOM<br>
    Event-Name: CUSTOM<br>
    Event-Subclass: my::event<br>
    my-header: my-value<br>
    <br>
    I could probably add the uuid to a different header name, but I'm
    trying to keep the names I use consistent with other events.<br>
    <br>
    Thanks,<br>
    <br>
    Adam<br>
    <br>
    <br>
    On 3:59 PM, Michael Collins wrote:
    <blockquote
cite="mid:%3CCAKzWOxVAczjo4-nevo8Gp8O88FJsFzeb434Cvm2oS4DYs2niVw@mail.gmail.com%3E"
      type="cite">I just tested this and it worked for me. However,
      instead of doing "/events all" i did "/events plain all". I see
      all the events on the system, including the ones injected.&nbsp;
      <div><br>
      </div>
      <div>-MC<br>
        <br>
        <div class="gmail_quote">On Tue, Nov 15, 2011 at 7:26 AM, Adam
          Kelloway <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:adam.kelloway@newpace.ca">adam.kelloway@newpace.ca</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            Hi there,<br>
            <br>
            I have client connection to a freeswitch instance, and send
            the<br>
            following message to freeswitch from it:<br>
            <br>
            sendevent CUSTOM\n<br>
            Event-Name: CUSTOM\n<br>
            Event-Subclass: my::event\n<br>
            my-header: my-value\n<br>
            \n<br>
            <br>
            I receive the following reply:<br>
            <br>
            Content-Type: command/reply<br>
            Reply-Text: +OK<br>
            <br>
            I subscribe to all events from fs_cli, using:<br>
            <br>
            /events all<br>
            <br>
            However, I never see the event that was sent. Am I
            misinterpreting how<br>
            sendevent is used? I would expect that the console
            application would see<br>
            this event. Am I perhaps missing some mandatory headers?<br>
            <br>
            Thanks,<br>
            <br>
            Adam<br>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a moz-do-not-send="true" href="http://www.cudatel.com"
              target="_blank">http://www.cudatel.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
              target="_blank">http://wiki.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      Adam<br clear="all">
      -- <br clear="all">
      <table id="signature" style="font-size: 85%; color: rgb(61, 35,
        22);" border="0" cellpadding="1" cellspacing="0">
        <tbody>
          <tr>
            <td rowspan="2" align="center" valign="middle"><img
                moz-do-not-send="false"
                src="cid:part1.02010808.09010102@newpace.ca"
                alt="NewPace Logo" height="50" width="50"></td>
            <td rowspan="6" width="6px"><br>
            </td>
            <td><br>
            </td>
            <td rowspan="6" width="6px"><br>
            </td>
            <td><font style="font-weight: bold; font-size: 110%;">Adam
                Kelloway</font></td>
          </tr>
          <tr>
            <td rowspan="6" style="font-weight: bold; font-size: 100%;"
              bgcolor="#a8cf38" width="1px"><br>
            </td>
            <td>Software Engineer, NewPace</td>
          </tr>
          <tr>
            <td align="right">phone</td>
            <td>+1&nbsp;(902)&nbsp;406&#8211;8375&nbsp;&nbsp;x1031</td>
          </tr>
          <tr>
            <td align="right">email</td>
            <td><a href="mailto:Adam.Kelloway@newpace.com"
                style="text-decoration: none; color: rgb(61, 35, 22);">Adam.Kelloway@NewPace.com</a></td>
          </tr>
          <tr>
            <td align="right"><a
                href="aim:GoIm?screenname=Adam.Kelloway@newpace.com"
                style="text-decoration: none; color: rgb(61, 35, 22);">aim</a>/<a
                href="msnim:chat?contact=Adam.Kelloway@newpace.com"
                style="text-decoration: none; color: rgb(61, 35, 22);">msn</a></td>
            <td><a href="aim:GoIm?screenname=Adam.Kelloway@newpace.ca"
                style="text-decoration: none; color: rgb(61, 35, 22);">Adam.Kelloway</a>@NewPace.ca</td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>