[Freeswitch-users] Sequential enterprise originate

Gregor Nanger gregor at infomedia.si
Tue Nov 28 17:03:02 UTC 2017


Yes, this is also a solution, but I am logging so much variables in DB when
CDR is posted.

Maybe I can do something to fake FS to bridge in new thread like: bridge
xxxx :_:something fake not to use much resources?



2017-11-28 17:40 GMT+01:00 Joel Serrano <joel at gogii.net>:

> 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
>
>
> _________________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171128/9a762304/attachment.html>


More information about the FreeSWITCH-users mailing list