[Freeswitch-users] Transparent external call

Hynek Cihlar hynek.cihlar at gmail.com
Fri Oct 21 21:19:36 MSD 2011


Clever, thanks!

Hynek



On Fri, Oct 21, 2011 at 7:14 PM, Madovsky <infos at madovsky.org> wrote:

> **
> so use hangup_cause in condition
>
> ----- Original Message -----
> *From:* Hynek Cihlar <hynek.cihlar at gmail.com>
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Sent:* Friday, October 21, 2011 12:56 PM
> *Subject:* Re: [Freeswitch-users] Transparent external call
>
> My apology. Forgot to mention that I need the hangup_after_bridge to be
> false. There is additional processing on the legs after hangup.
>
>
>    <context name="default">
>      <extension name="ext">
>       <condition field="destination_number" expression="^(\d+)$">
>           *NO HANGUP IS ESSENTIAL*
>           <action application="set" data="hangup_after_bridge=false"/>
>           <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
>
>
>
> On Fri, Oct 21, 2011 at 6:40 PM, Madovsky <infos at madovsky.org> wrote:
>
>> **
>> take a look at hangup_after_bridge and continue_on_fail wiki
>> and make condition with hangup_cause
>>
>>   ----- Original Message -----
>> *From:* Hynek Cihlar <hynek.cihlar at gmail.com>
>> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> *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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>  ------------------------------
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111021/52cc65f2/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list