-MichaelIf you want more details then <plug shameless="true">check out chapter 4 of the FreeSWITCH Cookbook</plug> where events and filtering are more thoroughly discussed.If you want to look at events involving a specific user as opposed to a specific uuid then I recommend that you first turn on all events and see what header(s) they have in common and go from there. You'll need to make good use of the filter command.The wiki has a good intro:
https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_event_socket-filterOn Tue, Jan 27, 2015 at 5:06 AM, Shai Perelman <groysem@gmail.com> wrote:Hi, thanks, as far as I can see even with the async option it still waits for commands from my side and the call is not transfered to music on hold which is what I am dialing, the moment I remove the socket action it returns to normal behaviour.so I am trying this from the other end as Kamil suggested, with inbound event socket. it works and the call proceeds while I am getting the events but I needto filter the events I am getting to only include the events with the extension(s) that I want to monitor involved. can somebody help me with what filter command(s) do I need to send to see only the events that have for example extension 9999 involved?thanksShaiOn Tue, Jan 27, 2015 at 5:59 AM, Michael Collins <msc@freeswitch.org> wrote:Using the socket app with the "async" option will cause that channel's events to be sent.-MCOn Mon, Jan 26, 2015 at 7:43 PM, Kamil Nigmatullin <kamil.nigmatullin@gmail.com> wrote:Yes if you want monitor and catch events you need to use inbound socket
26 янв. 2015 г. 21:58 пользователь "Duvid Rottenberg" <adrottenberg@gmail.com> написал:I am pretty sure that with outbound socket as long as you don't send any commands back to Freeswitch, it will just execute whatever is in the xml dialplan.Thanks,Duvid RottenbergOn Sun, Jan 25, 2015 at 6:19 PM, Michael Collins <msc@freeswitch.org> wrote:-MichaelIn event socket outbound the listening server controls the call. In your case you just want to get the events associated with that call? I've never actually tried it but maybe you could do something like:And then after the socket app answers have it issue the linger command, then transfer or execute_extension to send the call off to do something. Watch your socket connection for events and see happens. If you get it to work please let us know. :)<action application="socket" data="127.0.0.1:8084 async"/>On Sun, Jan 25, 2015 at 7:17 AM, Shai Perelman <groysem@gmail.com> wrote:hi, I am usingmy goal is to monitor what happens on the extension but without affecting the normal behaviour.I have this dialplan.I want it to answer automatticaly like it would do with out the socket module, and just send me the events regarding that extension
Tag Type Data Order condition username 9998 1 ![]()
action socket 109.65.149.22:9999 async 3 ![]()
I am calling *9664 (music on hold)
and the call is blocking while wating for commands from my side.thanksShaiITD Communications
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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--
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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