can I use Event_Socket_Outbound to only monitor?
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
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.
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@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
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 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@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
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 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@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
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 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@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
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 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@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
-- www.groyse.com
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_ev... 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 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@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
-- www.groyse.com
_________________________________________________________________________ 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
Thanks Michael Im reading the book now... On Wed, Jan 28, 2015 at 6:40 PM, Michael Collins <msc@freeswitch.org> wrote:
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_ev...
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 > 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@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
-- www.groyse.com
_________________________________________________________________________ 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
-- www.groyse.com
participants (4)
-
Duvid Rottenberg
-
Kamil Nigmatullin
-
Michael Collins
-
Shai Perelman