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@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@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
| Adam Kelloway | ||||
| Software Engineer, NewPace | ||||
| phone | +1 (902) 406–8375 x1031 | |||
| Adam.Kelloway@NewPace.com | ||||
| aim/msn | Adam.Kelloway@NewPace.ca |