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
I don't think so. I see sendEvent under the ESLconnection class in ESL.py. And it used to work. Just doing a sanity check. If it looks right I'll submit a jira ticket. On Mar 5, 2010, at 2:39 PM, Brian West wrote:
Wouldn't that be event.sendEvent?
/b
On Mar 5, 2010, at 2:31 PM, Rob Forman wrote:
event = ESL.ESLevent("CUSTOM", "test::event1") event.addHeader("Name1", "Value1") self.esl.sendEvent(event)
_______________________________________________ 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
found your problem fixed in r16921 I think in the future maybe just open the jira right away, it's easy to close them as "not a bug" if you are wrong. If you are right it spares us the trouble of tracking issues over email. On Fri, Mar 5, 2010 at 4:02 PM, Rob Forman <rob4manhere@gmail.com> wrote:
I don't think so. I see sendEvent under the ESLconnection class in ESL.py. And it used to work.
Just doing a sanity check. If it looks right I'll submit a jira ticket.
On Mar 5, 2010, at 2:39 PM, Brian West wrote:
Wouldn't that be event.sendEvent?
/b
On Mar 5, 2010, at 2:31 PM, Rob Forman wrote:
event = ESL.ESLevent("CUSTOM", "test::event1") event.addHeader("Name1", "Value1") self.esl.sendEvent(event)
_______________________________________________ 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
_______________________________________________ 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
Thanks, and will do. On Mar 5, 2010, at 5:11 PM, Anthony Minessale wrote:
found your problem fixed in r16921
I think in the future maybe just open the jira right away, it's easy to close them as "not a bug" if you are wrong. If you are right it spares us the trouble of tracking issues over email.
On Fri, Mar 5, 2010 at 4:02 PM, Rob Forman <rob4manhere@gmail.com> wrote: I don't think so. I see sendEvent under the ESLconnection class in ESL.py. And it used to work.
Just doing a sanity check. If it looks right I'll submit a jira ticket.
On Mar 5, 2010, at 2:39 PM, Brian West wrote:
Wouldn't that be event.sendEvent?
/b
On Mar 5, 2010, at 2:31 PM, Rob Forman wrote:
event = ESL.ESLevent("CUSTOM", "test::event1") event.addHeader("Name1", "Value1") self.esl.sendEvent(event)
_______________________________________________ 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
_______________________________________________ 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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _______________________________________________ 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
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
Sorry I didn't specify. I'm trying to fire an event, which is picked up by another event listening daemon. On Mar 5, 2010, at 2:43 PM, Anthony Minessale wrote:
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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _______________________________________________ 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
participants (3)
-
Anthony Minessale
-
Brian West
-
Rob Forman