It's always confused me. I wonder whether there are any differences between these 2 dialplans.<div><br></div><div><div><extension name="test1"></div><div> <condition field="destination_number" expression="^(.*)$"></div>
<div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="set" data="continue_on_fail=true"/></div><div> <action application="bridge" data="sofia/gateway/carrier1/$1"/></div>
<div> <action application="bridge" data="sofia/gateway/carrier2/$1"/></div><div> </condition></div><div></extension></div><div><br></div><div>-and-</div><div><br></div><div><extension name="test2"></div>
<div> <condition field="destination_number" expression="^(.*)$"></div><div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="set" data="continue_on_fail=true"/></div>
<div> <action application="bridge" data="sofia/gateway/carrier1/$1|sofia/gateway/carrier2/$1"/></div><div> </condition></div><div></extension></div><div><br></div><div>What is the best way to use it?</div>
<div><br></div><div>Thank you,</div><div>Dorn B.</div><div><br></div></div>