[Freeswitch-users] Sequential enterprise originate

Joel Serrano joel at gogii.net
Tue Nov 28 16:40:27 UTC 2017


You can set a variable in between, for example:

Incoming call
Continue on fail =...
Bridge to gw1
Set gw1_failed=true
Bridge to gw2
...

Then check if gw1_failed exists and is true...

On Tue, Nov 28, 2017 at 07:35 Gregor Nanger <gregor at infomedia.si> wrote:

> Just dumping if someone has idea how to implement such scenario?
>
> 2017-11-27 21:58 GMT+01:00 Gregor Nanger <gregor at infomedia.si>:
>
>> My scenario is simple:
>>
>> incoming call
>> continue on fail = conditions
>> bridge to gateway1
>> bridge to gateway2
>>
>> if bridge on gateway1 ends with 503, dialplan continues to bridge on
>> gateway2. This works ok, but I can't get 2 CDR posts on xml_cdr and can't
>> store in DB that bridge to gateway1 failed with response xy.
>>
>> Any other aproach for this?
>>
>> 2017-11-27 21:50 GMT+01:00 Michael Jerris <mike at jerris.com>:
>>
>>> This is a matter of if you do b leg car or not.  It does not even have
>>> to do with enterprise originate.
>>>
>>>
>>> > On Nov 27, 2017, at 2:20 PM, Gregor Nanger <gregor at infomedia.si>
>>> wrote:
>>> >
>>> > Is it possible to create enterprise originate in sequential order?
>>> >
>>> > I want to create gateway failover, but each failover with own cdr
>>> post, like enterprise originate, where each thread creates new cdr.
>>> Proposed failover with | creates only one cdr.
>>> >
>>> > Thanks for any hint
>>> >
>>> > Gregor
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>
>>
>>
>>
>> --
>> Gregor Nanger
>>
>> *CTO*
>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
>> • www.infomedia.si
>>
>
>
>
> --
> Gregor Nanger
>
> *CTO*
> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
> • www.infomedia.si
> _________________________________________________________________________
> 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/20171128/5513623a/attachment-0001.html>


More information about the FreeSWITCH-users mailing list