Question About Hangup – Asterisk V11.15.0

Home » Asterisk Users » Question About Hangup – Asterisk V11.15.0
Asterisk Users No Comments

Hello,

on previous versions of asterisk, extension h and H make us know who ended a call (caller or callee). In the last * versions, seems that only h extension is used, as stated here http://www.voip-info.org/wiki/view/Asterisk+standard+extensions

In the last versions, how do we know which end terminate a call (SIP, ISDN, Analog, …) in h extension ? Will the
${HASH(SIP_CAUSE,${CDR(dstchannel)})} give the information ?

We also face a strange behavior: we are ringing few phones (~10) and sometimes, once the call get answered, we see that 2~3 seconds after this, music on hold is started on the channel! And 20 seconds after, the call is terminated without that any party hanged up 🙁

It’s a Elastix 2.5 installation, we thought that problem could came from Elastix so we set our own dialplan for incoming calls:

same n,Set(__phonesToRing=SIP/118&SIP/119&SIP/122&SIP/123&SIP/124&SIP/125&SIP/126&SIP/127&SIP/128&SIP/129&SIP/130&SIP/132)
same = n(startRing),Answer()
same = n,Dial(${phonesToRing},,it) ;no voicemail or forward => ring indefenitely
same = n,Hangup

Incoming call give for instance in logs:

[2015-03-23 11:07:20] VERBOSE[1342][C-00000e85] app_dial.c: