[Freeswitch-users] can I use Event_Socket_Outbound to only monitor?
Michael Collins
msc at freeswitch.org
Mon Jan 26 02:19:32 MSK 2015
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 at 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.
>
> TagTypeDataOrder[image: add]
> <http://148.251.142.45/app/dialplan/dialplan_detail_edit.php?id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db>
> condition username 9998 1[image: edit]
> <http://148.251.142.45/app/dialplan/dialplan_detail_edit.php?id=02e9a3bf-15cb-4ddf-a6bf-7fc1624eca22&id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db>
> [image: delete]
> <http://148.251.142.45/app/dialplan/dialplan_detail_delete.php?id=02e9a3bf-15cb-4ddf-a6bf-7fc1624eca22&id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db>
> action socket 109.65.149.22:9999 async 3[image: edit]
> <http://148.251.142.45/app/dialplan/dialplan_detail_edit.php?id=0ca4a9d4-020f-418c-b0aa-388bc6bf4ad5&id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db>
> [image: delete]
> <http://148.251.142.45/app/dialplan/dialplan_detail_delete.php?id=0ca4a9d4-020f-418c-b0aa-388bc6bf4ad5&id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db>
>
>
> 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150125/2cd3da6f/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list