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-filter

If 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.

-Michael


On 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 need
to 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?

thanks
Shai

On 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.
-MC

On 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 Rottenberg

On Sun, Jan 25, 2015 at 6:19 PM, Michael Collins <msc@freeswitch.org> wrote:
In 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:

<action application="socket" data="127.0.0.1:8084 async"/>

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. :)

-Michael



On Sun, Jan 25, 2015 at 7:17 AM, Shai Perelman <groysem@gmail.com> wrote:

hi, I am using
my goal is to monitor what happens on the extension but without affecting the normal behaviour. 

I have this dialplan.

TagTypeDataOrderadd
  condition  username  9998  1edit delete
  action  socket  109.65.149.22:9999 async  3edit delete
 

I am calling *9664 (music on hold)
and the call is blocking while wating for commands from my side.

I want it to answer automatticaly like it would do with out the socket module, and just send me the events regarding that extension

thanks
Shai
ITD 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