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: [email protected] 
[mailto:[email protected]] 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.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to