[Freeswitch-users] Routing question
Chris Tunbridge
blasterjr at gmail.com
Thu Sep 22 02:58:31 MSD 2016
i second this, before you do your first attempt, set continue_on_fail=true
(example here:
https://freeswitch.org/confluence/display/FREESWITCH/Example+Extension+Status
)
then do your first originate attempt, after that, change your originate
timeout and set continue_on_fail to false if needed, then try your second
one.
On Wed, Sep 21, 2016 at 4:29 PM, Abaci B <abaci64 at gmail.com> wrote:
> any reason not to split into 2 separate originates?
>
> On Wed, Sep 21, 2016 at 6:18 PM, Dmitry Mordovin <d.mordovin at dwide.com>
> wrote:
>
>> originate_timeout effect whole bridge.
>>
>> I need timeout 20s for (sofia/gateway/GW-1/11111 at gw1 and sofia/gateway/GW-2/11111 at gw2) and next timeout 20s for (sofia/gateway/GW-1/22222 at gw1 and sofia/gateway/GW-2/22222 at gw2)
>>
>>
>> On 09/21/2016 07:03 PM, Abaci B wrote:
>>
>> add {originate_timeout=20}
>> see https://freeswitch.org/confluence/display/FREESWITCH/Variabl
>> es#Variables-originate_timeout
>>
>> On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin <d.mordovin at dwide.com>
>> wrote:
>>
>>> Hello
>>>
>>> I play with routing and want to test scheme with multiple suppliers
>>> (gateways) and multiple destinations (numbers).
>>>
>>> My bridge configuration is
>>>
>>> <action application="bridge" data="
>>> [leg_timeout=20]sofia/gateway/GW-1/11111 at gw1
>>> |
>>> [leg_timeout=20]sofia/gateway/GW-2/11111 at gw2
>>> |
>>> [leg_timeout=20]sofia/gateway/GW-1/22222 at gw1
>>> |
>>> [leg_timeout=20]sofia/gateway/GW-2/22222 at gw2
>>> "/>
>>>
>>> In this case bridge try each supplier and number with timeout 20 sec.
>>> It means, if 11111 user no answer, bridge spend 20+20 seconds before try
>>> 22222 number.
>>>
>>> I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 together).
>>>
>>> Is it possible to set timeout 20 sec for each 'group' but not leg?
>>>
>>> ____________________________________________________________
>>> _____________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> 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
>>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20160921/5fd5a221/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list