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@lists.freeswitch.org> Im Auftrag von Bilal Abbasi
Gesendet: Donnerstag, 14. Januar 2021 11:43
An: FreeSWITCH Users Help <freeswitch-users@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

I have attached as an image as well.

 

Regards

Bilal Abbasi