<div dir="ltr">Hi Users,<div><br><div>I found the solution via doing the following stuff, it might not be the most appropriate way of doing it, but it worked for me.</div><div><br></div><div><action application="set" data="uuid1=${create_uuid()}"/><br><action application="set" data="uuid2=${create_uuid()}"/><br><action application="bridge" data="[leg_timeout=60,api_on_answer='sched_hangup +10 ${uuid1} alloted_timeout',origination_uuid=${uuid1}]sofia/gateway/testtrunk/6505935400,[leg_timeout=60,api_on_answer='sched_hangup +10 ${uuid2} alloted_timeout',origination_uuid=${uuid2}]sofia/gateway/testtrunk/5505935403"/><br></div><div><br></div><div>Now i know exactly which leg i am hanging up, by generating the two uuid variables before starting the bridge.</div><div><br></div><div>Thanks everyone</div><div>Bilal Abbasi</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 19, 2021 at 1:05 AM Bilal Abbasi <<a href="mailto:bilaln018@gmail.com">bilaln018@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Brian and Marcel,<div>I tried both things but still my dialplan is not going to execute extension. Here is my code snippet.</div><div><a href="https://justpaste.it/7pwix" target="_blank">https://justpaste.it/7pwix</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 18, 2021 at 8:38 PM Marcel Haldemann <<a href="mailto:m.hald@outlook.com" target="_blank">m.hald@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="DE-CH">
<div>
<p class="MsoNormal"><span lang="FR-CH">Since you hangup with an error-code (</span><em><span style="font-size:10.5pt;font-family:-apple-system;color:rgb(23,43,77);background:white">ALLOTTED_TIMEOUT</span></em><span lang="FR-CH">)
you maybe need to set :<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR-CH"><u></u> <u></u></span></p>
<p class="MsoNormal"><code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;color:black;border:1pt none windowtext;padding:0cm;background:white"><action</span></code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);background:white"> </span><code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;color:black;border:1pt none windowtext;padding:0cm;background:white">application="set"</span></code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);background:white"> </span><code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;color:black;border:1pt none windowtext;padding:0cm;background:white">data="continue_on_fail=true"/></span></code><code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;border:1pt none windowtext;padding:0cm;background:white"><u></u><u></u></span></code></p>
<p class="MsoNormal"><code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;border:1pt none windowtext;padding:0cm;background:white"><u></u> <u></u></span></code></p>
<p class="MsoNormal"><code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;color:black;border:1pt none windowtext;padding:0cm;background:white">Before the bridge.</span></code><code><span lang="FR-CH" style="font-size:10.5pt;font-family:Consolas;border:1pt none windowtext;padding:0cm;background:white"><u></u><u></u></span></code></p>
<p class="MsoNormal"><span lang="FR-CH"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="FR-CH"><a href="https://freeswitch.org/confluence/display/FREESWITCH/continue_on_fail" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/continue_on_fail</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR-CH"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="FR-CH"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>>
<b>Im Auftrag von </b>Bilal Abbasi<br>
<b>Gesendet:</b> Donnerstag, 14. Januar 2021 11:43<br>
<b>An:</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
<b>Betreff:</b> [Freeswitch-users] [FreeSWITCH sched_hangup does not execute 'execute_extension']<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Users,<u></u><u></u></p>
<div>
<p class="MsoNormal">I want to build a scenario in which if the B-Party hangup the call, A-Party can still be able to process through the dialplan.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">This works fine if B-Party hangup the call, but if the B-Party is hanup forcefully via sched_hangup (timeout), call gets terminated i-e A-Party is not able to reach 'execute_extension' application.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Here is my dialplan snippet <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjustpaste.it%2F2ppra&data=04%7C01%7C%7C387faa1fb80245e5ad4108d8b87f07c6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637462203016432657%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=l5nvcipVCkjqIj3GfdI0Kcfk%2BZo1aIGo0cAI%2F10Nr9g%3D&reserved=0" target="_blank">https://justpaste.it/2ppra</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I have attached as an image as well.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Bilal Abbasi<u></u><u></u></p>
</div>
</div>
</div>
</div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
</blockquote></div>