I need to test a case where I dial two destinations (Lets say destination A and Destination B) simultaneously. I am able to do that using "," as separator with "ignore_early_media" and when I execute it ... Destination A sends media (183) after few seconds (while A still playing) destination B also sends media (183) Now what i need to check is that is there any way to hangup the destination A if anytime we receive 180 or 183 message from destination B. Possible? Regards, John
There is not an easy way to do this, I would contact consulting@freeswitch.org <mailto:consulting@freeswitch.org> and get some pro help with this as your end goal here is doing voicemail drops From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of John Nash Sent: Monday, November 2, 2015 10:28 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Bridge call blast scenario I need to test a case where I dial two destinations (Lets say destination A and Destination B) simultaneously. I am able to do that using "," as separator with "ignore_early_media" and when I execute it ... Destination A sends media (183) after few seconds (while A still playing) destination B also sends media (183) Now what i need to check is that is there any way to hangup the destination A if anytime we receive 180 or 183 message from destination B. Possible? Regards, John
Try catch 180 or 183 message event for B leg. To catch event I use lua script. On Tue, Nov 3, 2015, 07:29 John Nash <john.nash778@gmail.com> wrote:
I need to test a case where I dial two destinations (Lets say destination A and Destination B) simultaneously.
I am able to do that using "," as separator with "ignore_early_media" and when I execute it ...
Destination A sends media (183) after few seconds (while A still playing) destination B also sends media (183)
Now what i need to check is that is there any way to hangup the destination A if anytime we receive 180 or 183 message from destination B.
Possible?
Regards,
John _________________________________________________________________________ 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
OK but in the 183 events of destination B how can I access details of call to destination A to hangup? On Tue, Nov 3, 2015 at 12:32 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Try catch 180 or 183 message event for B leg. To catch event I use lua script.
On Tue, Nov 3, 2015, 07:29 John Nash <john.nash778@gmail.com> wrote:
I need to test a case where I dial two destinations (Lets say destination A and Destination B) simultaneously.
I am able to do that using "," as separator with "ignore_early_media" and when I execute it ...
Destination A sends media (183) after few seconds (while A still playing) destination B also sends media (183)
Now what i need to check is that is there any way to hangup the destination A if anytime we receive 180 or 183 message from destination B.
Possible?
Regards,
John _________________________________________________________________________ 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
I would go for an external program that handles the calls via ESL. You would then know the UUID of both legs and hangup the one you need when you need it. On Tue, Nov 3, 2015 at 3:35 PM, John Nash <john.nash778@gmail.com> wrote:
OK but in the 183 events of destination B how can I access details of call to destination A to hangup?
On Tue, Nov 3, 2015 at 12:32 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Try catch 180 or 183 message event for B leg. To catch event I use lua script.
On Tue, Nov 3, 2015, 07:29 John Nash <john.nash778@gmail.com> wrote:
I need to test a case where I dial two destinations (Lets say destination A and Destination B) simultaneously.
I am able to do that using "," as separator with "ignore_early_media" and when I execute it ...
Destination A sends media (183) after few seconds (while A still playing) destination B also sends media (183)
Now what i need to check is that is there any way to hangup the destination A if anytime we receive 180 or 183 message from destination B.
Possible?
Regards,
John _________________________________________________________________________ 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
participants (4)
-
John Nash
-
Ken Rice
-
Sergey Safarov
-
Stanislav Sinyagin