[Freeswitch-users] sendevent issues

Michael Collins msc at freeswitch.org
Tue Nov 15 19:32:55 MSK 2011


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.

-MC

On Tue, Nov 15, 2011 at 7:26 AM, Adam Kelloway <adam.kelloway at newpace.ca>wrote:

> Hi there,
>
> I have client connection to a freeswitch instance, and send the
> following message to freeswitch from it:
>
> sendevent CUSTOM\n
> Event-Name: CUSTOM\n
> Event-Subclass: my::event\n
> my-header: my-value\n
> \n
>
> I receive the following reply:
>
> Content-Type: command/reply
> Reply-Text: +OK
>
> I subscribe to all events from fs_cli, using:
>
> /events all
>
> However, I never see the event that was sent. Am I misinterpreting how
> sendevent is used? I would expect that the console application would see
> this event. Am I perhaps missing some mandatory headers?
>
> Thanks,
>
> Adam
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111115/fe6174fd/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list