<div dir="ltr"><div>Hey there,</div><div><br></div>Even if this were possible (ultimately I believe it's going to come down to a race condition - will FS clean up the old channel's UUID and handles before starting the next one), it seems like a very bad idea. FS bases all channel actions on the premise of having unique session uuids. If you share UUIDs between channels, you're only going to cause yourself more headache. Assuming you're wanting to be able to identify that these three physical calls are all part of the same logical call, you'll be much better off generating a unique ID in your application somewhere and setting it on all legs as a channel var. Then you can simply use that identifier in your application, if you want this behavior.<div><br></div><div>As to the direct answer to your question, though - as mentioned above I believe it'll be a race condition at best, and a consistent failure at worst (and I'm quite confident the FS guys are going to tell you not to do this).</div><div><br></div><div>Best,</div><div>Colin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 6, 2016 at 9:22 AM, Tihomir Culjaga <span dir="ltr"><<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@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 everyone,<div><br></div><div>i'd like to clarify one small thing:</div><div><br><div>in an originate with multiple dialstrings separated by "|" ( meaning sequential dialing ) ... if i set origination_uuid as session variable, can i have the same uuid on every session/channel.</div><div><br></div><div>something like that:</div><div><br></div><div><div>bgapi originate {originate_timeout=60}</div><div><br></div><div>[origination_uuid=c88a737e-<wbr>d713-4e47-be56-e384df470b44]<wbr>sofia/gateway/gatewayA/<wbr>1222333444|</div><div>[origination_uuid=c88a737e-<wbr>d713-4e47-be56-e384df470b44]<wbr>sofia/gateway/gatewayB/<wbr>1222333444|</div><div>[origination_uuid=c88a737e-<wbr>d713-4e47-be56-e384df470b44]<wbr>sofia/gateway/gatewayC/<wbr>1222333444</div><div><br></div><div>&application</div></div><div><br></div><div><br></div><div>so in other words, when executing originate command, FS, will generate a separate thread for the call and within the thread it will generate these sessions. So, is it safe to set the same uuid on all session that are being dialed sequentially? </div><div><br></div><div>Do sessions start and end sequentially ?</div><div><br></div><div><br></div><div>Appreciate any answer on this.</div><div><br></div><div><br></div><div>Regards,</div><div>Tihomir.</div><div><br></div><div><br></div></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>