[asterisk-users] Custom SIP-header not present in call Asterisk to Asterisk

Eric Wieling EWieling at nyigc.com
Tue Sep 2 07:44:29 CDT 2014


321 is not a valid Asterisk hangup cause.  Valid hangupcauses are 1-127 (Q.831 cause codes)  See https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause+Mappings

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Tuesday, September 02, 2014 12:41 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Custom SIP-header not present in call Asterisk to Asterisk


On 02-09-14 14:22, Eric Wieling wrote:
Try Hangup(123) where 123 is whatever "hangup cause" you want to send back to the caller.   The calliing Asterisk server will get the valuse back in HANGUPCAUSE variable.


Hello,

I have tried sending Hangup(321) on Asterisk server B to Asterisk A but when I read HangupCause on Asterisk A it always is '21'.

Good idea, but it does not seem to work.



Kind regards,

Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140902/c03f4d0a/attachment-0001.html>


More information about the asterisk-users mailing list