[Freeswitch-users] Sequential endpoint bridge question.
ocset
ocset at the800group.com
Mon Jun 4 14:13:52 MSD 2012
Hi
I have a setup where I am using a GXW4104 FXO gateway to access a GSM
endpoint. With a simple dialplan, making calls works great.
However, I am trying to setup a "Sequential Call Routing" where
Freeswitch first tries the GSM endpoint and then uses a PSTN line
instead. With the GSM line, there is always a 5 second delay before the
call is made, which does not cause an issue with a simple dialplan, but
when I try the a sequential
Here is an example of the simple dialplan which works
<extension name="Standard Call">
<condition field="destination_number" expression="^(\d{10})$">
<action application="bridge" data="sofia/internal/$1 at 192.168.0.160:5064" />
</condition>
</extension>
<extension name="Standard Call - Seq">
<condition field="destination_number" expression="^(\d{10})$">
<action application="bridge"
data="{ignore_early_media=true}sofia/internal/$1 at 192.168.0.160:5064 |
sofia/internal/$1 at 192.168.0.160:5060" />
</condition>
</extension>
What can I do to get Freeswitch to wait longer for the first endpoint or
is there a better way to achieve this? Should I have two dialplans, one
after another, that will execute the second if the GSM one fails?
Thanks in advance
O
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list