Home > FreeSWITCH > Multiple Route Dialing in FreeSWITCH simultaneously

Multiple Route Dialing in FreeSWITCH simultaneously

September 29th, 2009 emran Leave a comment Go to comments

Forked dial is when you want to attempt to ring 2 destinations at the same time. Freeswitch will attempt to call both bridge options simultaneously. The first bridge leg that replies with a 183 (session progress) message will win the call, and the other bridge leg is dropped. This only will work if you enable inbound-late-negotiation in the profile this recipe is executing under ( not in the bridged-to profile ).

an example is:

 <extension name="dialoutpstn">
     <condition field="destination_number" expression="^((00).*)$">
       <action application="set" data="hangup_after_bridge=true"/>
       <action application="set" data="ignore_early_media=true"/>
       <action application="bridge" data="sofia/gateway/gatewayA/$1@1.2.3.4,sofia/gateway/gatewayB/$1@4.5.6.7"/>
       </condition>
 </extension>

Categories: FreeSWITCH Tags:
  1. No comments yet.
  1. No trackbacks yet.
7 visitors online right now
7 guests, 0 members
Max visitors today: 8 at 11:34 pm UTC
This month: 8 at 09-03-2010 11:34 pm UTC
This year: 43 at 06-10-2010 04:02 pm UTC
All time: 43 at 06-10-2010 04:02 pm UTC