[Freeswitch-users] Transparent external call
Hynek Cihlar
hynek.cihlar at gmail.com
Fri Oct 21 21:23:08 MSD 2011
Right... or multiple destinations in the bridge with 'or' semantics, if
bridge supports that. The think is, as you got it correctly, that there may
be only one bridge for the incoming session.
Hynek
On Fri, Oct 21, 2011 at 7:18 PM, Madovsky <infos at madovsky.org> wrote:
> **
> sorry you have to hangup the bridge before to try another bridge..
>
> ----- Original Message -----
> *From:* Madovsky <infos at madovsky.org>
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Sent:* Friday, October 21, 2011 1:14 PM
> *Subject:* Re: [Freeswitch-users] Transparent external call
>
> 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
>
>
>
> 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/975cbf7b/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list