[Freeswitch-users] sendevent issues

Adam Kelloway adam.kelloway at newpace.ca
Tue Nov 15 18:26:35 MSK 2011


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



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