take a look at hangup_after_bridge and continue_on_fail wiki
and make condition with hangup_cause
----- Original Message -----
From: Hynek Cihlar
To: FreeSWITCH Users Help
Sent: Friday, October 21, 2011 9:09 AM
Subject: [Freeswitch-users] Transparent external call

  <context name="default">
     <extension name="ext">
      <condition field="destination_number" expression="^(\d+)$">
          <action application="bridge" data="sofia/internal/$1%${domain_name}"/>
          
           HOW TO RUN THIS ACTION, ONLY IF THE ABOVE BRIDGE FAILS (THE DST NUMBER IS NOT AN EXTENSION OF A REGED USER)?
          <action application="bridge" data="sofia/external/$1@${host}"/>
      </condition>
    </extension>



Hynek



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