Hello, How can I bridge out calls via another bridge if the first bridge fails? - let's say the first bridge returns a 404 or 503 error
On 03/12/11 17:28, Elliott Vogel wrote:
How can I bridge out calls via another bridge if the first bridge fails? - let's say the first bridge returns a 404 or 503 error
Have a look at the following: http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_7:_Action_fa... http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail Regards,
Hello, I seem to have a problem when I try to bridge via " user/1900@zoogmedia.com,sofia/gateway/TSG/+13124346168" FS stops ringing the user when it rings number on the gateway. Do I not have something configured correctly? <extension name="14142211800"> <condition field="destination_number" expression="^\+(14142211800)$" /> <action application="ring_ready" /> <action application="set" data="bypass_media=true"/> <action application="ring_ready" /> <action application="bridge" data="user/1900@zoogmedia.com,sofia/gateway/TSG/+13124346168"/> </condition> </extension> -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Paul Cupis Sent: Saturday, December 03, 2011 1:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] dialplan On 03/12/11 17:28, Elliott Vogel wrote:
How can I bridge out calls via another bridge if the first bridge fails? - let's say the first bridge returns a 404 or 503 error
Have a look at the following: http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_7:_Action_fa... http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail Regards, _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
You only need one ring_ready. My best guess, without seeing a pastebinned actual log, is that the gateway is returning "early media" right away - the ring, even before it connects, which FS by default counts as answering the call. You can add {ignore_early_media=true} to the beginning of the bridge string and try it again. (http://wiki.freeswitch.org/wiki/Variable_ignore_early_media) -Avi On Sun, Dec 11, 2011 at 9:10 PM, Elliott Vogel <elliott@zoogmedia.com>wrote:
Hello,
I seem to have a problem when I try to bridge via " user/ 1900@zoogmedia.com,sofia/gateway/TSG/+13124346168" FS stops ringing the user when it rings number on the gateway. Do I not have something configured correctly?
<extension name="14142211800"> <condition field="destination_number" expression="^\+(14142211800)$" /> <action application="ring_ready" /> <action application="set" data="bypass_media=true"/> <action application="ring_ready" /> <action application="bridge" data="user/1900@zoogmedia.com ,sofia/gateway/TSG/+13124346168"/> </condition> </extension>
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Paul Cupis Sent: Saturday, December 03, 2011 1:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] dialplan
On 03/12/11 17:28, Elliott Vogel wrote:
How can I bridge out calls via another bridge if the first bridge fails? - let's say the first bridge returns a 404 or 503 error
Have a look at the following:
http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_7:_Action_fa...
http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
That worked, thanks... is there any problem with always ignoring early media? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Sunday, December 11, 2011 1:39 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] dialplan You only need one ring_ready. My best guess, without seeing a pastebinned actual log, is that the gateway is returning "early media" right away - the ring, even before it connects, which FS by default counts as answering the call. You can add {ignore_early_media=true} to the beginning of the bridge string and try it again. (http://wiki.freeswitch.org/wiki/Variable_ignore_early_media) -Avi On Sun, Dec 11, 2011 at 9:10 PM, Elliott Vogel <elliott@zoogmedia.com<mailto:elliott@zoogmedia.com>> wrote: Hello, I seem to have a problem when I try to bridge via " user/1900@zoogmedia.com<mailto:1900@zoogmedia.com>,sofia/gateway/TSG/+13124346168<tel:%2B13124346168>" FS stops ringing the user when it rings number on the gateway. Do I not have something configured correctly? <extension name="14142211800<tel:14142211800>"> <condition field="destination_number" expression="^\+(14142211800)$" /> <action application="ring_ready" /> <action application="set" data="bypass_media=true"/> <action application="ring_ready" /> <action application="bridge" data="user/1900@zoogmedia.com<mailto:1900@zoogmedia.com>,sofia/gateway/TSG/+13124346168<tel:%2B13124346168>"/> </condition> </extension> -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Paul Cupis Sent: Saturday, December 03, 2011 1:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] dialplan On 03/12/11 17:28, Elliott Vogel wrote:
How can I bridge out calls via another bridge if the first bridge fails? - let's say the first bridge returns a 404 or 503 error
Have a look at the following: http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_7:_Action_fa... http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail Regards, _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
Apparently Amex's 800 line has a bunch of messages in early media to save them some money... but in general, you aren't supposed to NEED it... -Avi On Mon, Dec 12, 2011 at 12:53 AM, Elliott Vogel <elliott@zoogmedia.com>wrote:
That worked, thanks… is there any problem with always ignoring early media?****
** **
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Avi Marcus *Sent:* Sunday, December 11, 2011 1:39 PM
*To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] dialplan****
** **
You only need one ring_ready.****
My best guess, without seeing a pastebinned actual log, is that the gateway is returning "early media" right away - the ring, even before it connects, which FS by default counts as answering the call.****
You can add {ignore_early_media=true} to the beginning of the bridge string and try it again.****
(http://wiki.freeswitch.org/wiki/Variable_ignore_early_media)****
** **
-Avi ****
** **
On Sun, Dec 11, 2011 at 9:10 PM, Elliott Vogel <elliott@zoogmedia.com> wrote:****
Hello,
I seem to have a problem when I try to bridge via " user/ 1900@zoogmedia.com,sofia/gateway/TSG/+13124346168" FS stops ringing the user when it rings number on the gateway. Do I not have something configured correctly?
<extension name="14142211800"> <condition field="destination_number" expression="^\+(14142211800)$" /> <action application="ring_ready" /> <action application="set" data="bypass_media=true"/> <action application="ring_ready" /> <action application="bridge" data="user/1900@zoogmedia.com ,sofia/gateway/TSG/+13124346168"/> </condition> </extension>****
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Paul Cupis Sent: Saturday, December 03, 2011 1:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] dialplan
On 03/12/11 17:28, Elliott Vogel wrote:
How can I bridge out calls via another bridge if the first bridge fails? - let's say the first bridge returns a 404 or 503 error
Have a look at the following:
http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_7:_Action_fa...
http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 (3)
-
Avi Marcus
-
Elliott Vogel
-
Paul Cupis