[Freeswitch-users] problem with sequential calling & mod lua session originate

spros p sphotos1982 at gmail.com
Sat Jan 3 13:24:58 MSK 2015


Hello,

I have tried hang_up_after bridge with no luck. I will try creating a
 series of bridges - i know this works from past experience, but don't
think is is the best approach for this scenario.

On Sat, Jan 3, 2015 at 5:51 AM, David Villasmil Govea <
david.villasmil at gmail.com> wrote:

> I think you need to set hangup_after_bridge to false....
> On Jan 2, 2015 8:40 PM, "spros p" <sphotos1982 at gmail.com> wrote:
>
>> Hello,
>>
>> I am trying to originate a series of calls in sequential order. I am
>> using the pipe notation, for the dial string, however the call never
>> reaches the second destination.
>>
>> When trying a comma or when using the enterprise originate notation
>> (:_:), calls are indeed simultaneously placed.
>>
>> The session is being called as follows in LUA:
>>
>> origination_string =
>> "{ignore_early_media=true,originate_timeout=30,continue_on_fail=true}[origination_caller_id_number=XXXX]sofia/gateway/provider/AAAAAA|[origination_caller_id_number=XXXX]sofia/gateway/provider/BBBBBB"
>> new_session = freeswitch.Session(origination_string, session);
>>
>> Any help would be greatly appreciated.
>>
>> Many Thanks,
>> S
>>
>>
>>
>> _________________________________________________________________________
>> 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/20150103/7ad4d909/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list