Modified dialplan template for local calls to make hangup context be called regardless of which party is hanging up the call.

Ref: #15917
This commit is contained in:
Kent Ekholm 2018-10-12 17:12:11 +02:00
parent 6d552297a4
commit a8d2e32d39

View file

@ -1,4 +1,4 @@
exten => |EXTEN|,1,Dial(BRCM/|LINE|,|TIMEOUT|,g)
exten => |EXTEN|,1,Dial(BRCM/|LINE|,|TIMEOUT|,gF(hangup,h,2))
exten => |EXTEN|,n,GotoIf($["${DIALSTATUS}"="ANSWER"]?endcall)
exten => |EXTEN|,n,|VOICEMAIL|
exten => |EXTEN|,n(endcall),Macro(endcall,BRCM,|LINE|,|EXTEN|,${CHANNEL(name)},|MAX_RETRIES|,|RETRYTIME|,|WAITTIME|,|CBBS_KEY|,|CONGESTIONTONE|)