<div dir="ltr">As a work around, I am calling each dial string separately, conditional on the session's state. This seems to give the desired behavior.<div><br></div><div>i.e.</div><div><div>if (new_session == nil or new_session:getState() == 'ERROR' or new_session:answered() == false) then </div><div><span class="" style="white-space:pre">        </span>new_session = freeswitch.Session(origination_string, session);<span class="" style="white-space:pre">        </span></div><div>end</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 3, 2015 at 12:24 PM, spros p <span dir="ltr"><<a href="mailto:sphotos1982@gmail.com" target="_blank">sphotos1982@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>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.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 3, 2015 at 5:51 AM, David Villasmil Govea <span dir="ltr"><<a href="mailto:david.villasmil@gmail.com" target="_blank">david.villasmil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I think you need to set hangup_after_bridge to false....</p>
<div class="gmail_quote"><div><div>On Jan 2, 2015 8:40 PM, "spros p" <<a href="mailto:sphotos1982@gmail.com" target="_blank">sphotos1982@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello,<div><br></div><div>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.</div><div><br></div><div>When trying a comma or when using the enterprise originate notation (:_:), calls are indeed simultaneously placed.</div><div><br></div><div>The session is being called as follows in LUA:</div><div><p><span>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"</span></p></div><div>new_session = freeswitch.Session(origination_string, session);<span style="white-space:pre-wrap">        </span><br></div><div><br></div><div>Any help would be greatly appreciated.</div><div><br></div><div>Many Thanks,</div><div>S</div><div><br></div><div><br></div></div>
<br></div></div><span>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></span></blockquote></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>