On Mon, Aug 31, 2009 at 6:11 AM, NOx-WHV <enno.egbert@googlemail.com> wrote:

Hello,

i use a sip gateway witch is only be able to allocate one sip channel.  How
can I bridge a call to a second gateway if the first gateway is in use.

Now the dialplan look like this:

 <condition field="${toll_allow}" expression="domestic"/>
 <condition field="destination_number" expression="^04(\d+)$">
  <action application="set" data="effective_caller_id_number=300"/>
  <action application="set" data="sip_secure_media=false"/>
  <action application="bridge"
data="sofia/gateway/mygateway/04$1@XXX.XXX.XXX.XXX"/>
 </condition>

Thanks for help


Try pipe-delimited list of dialstrings in your bridge:

<action application="bridge" data="sofia/gateway/mygateway/04$1@XXX.XXX.XXX.XXX|sofia/gateway/mygw2/foo@bar|sofia/gateway/mygw3/foo@bar"/>
 
-MC

--
View this message in context: http://www.nabble.com/external-Gateways-tp25223286p25223286.html
Sent from the Freeswitch-users mailing list archive at Nabble.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