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
https://wiki.freeswitch.org/wiki/Event_Socket_Outbound
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