[Freeswitch-users] [FreeSWITCH sched_hangup does not execute 'execute_extension']

Bilal Abbasi bilaln018 at gmail.com
Wed Jan 20 18:29:11 UTC 2021


Hi Users,

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.

<action application="set" data="uuid1=${create_uuid()}"/>
<action application="set" data="uuid2=${create_uuid()}"/>
<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"/>

Now i know exactly which leg i am hanging up, by generating the two uuid
variables before starting the bridge.

Thanks everyone
Bilal Abbasi

On Tue, Jan 19, 2021 at 1:05 AM Bilal Abbasi <bilaln018 at gmail.com> wrote:

> Hi Brian and Marcel,
> I tried both things but still my dialplan is not going to execute
> extension. Here is my code snippet.
> https://justpaste.it/7pwix
>
> On Mon, Jan 18, 2021 at 8:38 PM Marcel Haldemann <m.hald at outlook.com>
> wrote:
>
>> Since you hangup with an error-code (*ALLOTTED_TIMEOUT*) you maybe need
>> to set :
>>
>>
>>
>> <action application="set" data="continue_on_fail=true"/>
>>
>>
>>
>> Before the bridge.
>>
>>
>>
>> https://freeswitch.org/confluence/display/FREESWITCH/continue_on_fail
>>
>>
>>
>>
>>
>> *Von:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *Im
>> Auftrag von *Bilal Abbasi
>> *Gesendet:* Donnerstag, 14. Januar 2021 11:43
>> *An:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>> *Betreff:* [Freeswitch-users] [FreeSWITCH sched_hangup does not execute
>> 'execute_extension']
>>
>>
>>
>> Hi Users,
>>
>> 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.
>>
>> 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.
>>
>>
>>
>> Here is my dialplan snippet
>>
>> https://justpaste.it/2ppra
>> <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>
>>
>> I have attached as an image as well.
>>
>>
>>
>> Regards
>>
>> Bilal Abbasi
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210120/05591487/attachment.html>


More information about the FreeSWITCH-users mailing list