Problems subscribing to outbound socket events
I've put some c++ test code together to let the outbound socket control the call, all works as expected, apart from the event subscription Sending myevents\n\n gives the channel events However sending event text all\n\n doesn't give me any events apart from the channel events. Anyone care to suggest what I might be doing wrong? Regards,
once you send "myevents" you lock on to only that channel's events despite any other *events* command. you may want to use the filter feature on the channel's uuid instead. On Sat, Jun 6, 2009 at 12:39 PM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
I’ve put some c++ test code together to let the outbound socket control the call, all works as expected, apart from the event subscription
Sending myevents\n\n gives the channel events
However sending event text all\n\n doesn’t give me any events apart from the channel events.
Anyone care to suggest what I might be doing wrong?
Regards,
_______________________________________________ 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/ 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:213-799-1400
On Sun, Jun 7, 2009 at 7:36 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
once you send "myevents" you lock on to only that channel's events despite any other *events* command. you may want to use the filter feature on the channel's uuid instead.
FYI, I've added this information to the event socket wiki page. There wasn't an entry on the filter command so I added one with some simple examples. Hope this helps people in the future. http://wiki.freeswitch.org/wiki/Mod_event_socket#filter -MC
MC is tha man... jmesquita On Mon, Jun 8, 2009 at 6:31 PM, Michael Collins <msc@freeswitch.org> wrote:
On Sun, Jun 7, 2009 at 7:36 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
once you send "myevents" you lock on to only that channel's events despite any other *events* command. you may want to use the filter feature on the channel's uuid instead.
FYI, I've added this information to the event socket wiki page. There wasn't an entry on the filter command so I added one with some simple examples. Hope this helps people in the future.
http://wiki.freeswitch.org/wiki/Mod_event_socket#filter
-MC
_______________________________________________ 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 (4)
-
Anthony Minessale
-
João Mesquita
-
Michael Collins
-
Nik Middleton