are you trying to send the event to a specific channel or fire the event? The default action is fire the event, if you want to send it to a specific channel you need to add the unique-id header with the appropriate uuid. On Fri, Mar 5, 2010 at 2:31 PM, Rob Forman <rob4manhere@gmail.com> wrote:
Hi all,
I'm sending a custom event via an outbound ESL socket (using ESL's pymod ESL.py and _ESL.so).
Does this look right?
event = ESL.ESLevent("CUSTOM", "test::event1") event.addHeader("Name1", "Value1") self.esl.sendEvent(event)
It used to work (r16593) but now doesn't on trunk (r16897). I have a lot more information which I'll submit in jira, but just wanted to check that I'm not missing something obvious about sending custom events before I do.
All done on trunk release, 64-bit CentOS 5.3, and python 2.4.3 (stock).
Rob
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900