[Asterisk-Dev] Bug report 4783 and RFC 3326: The Reason Header Field for SIP

Mikael Magnusson mikaelmagnusson at glocalnet.net
Tue Aug 2 00:42:09 MST 2005


Hi,

a new header, "X-asterisk-hangupcause", is introduced in bug report
#4783 "Adding cleartext hangupcause to BYE and CANCEL" [1].

Wouldn't it make more sense to use the Reason header as defined in the
standard tracks RFC 3326[2] instead? It explicitly states that the
reason header is most useful in BYE and CANCEL requests.

Example:
     Reason: SIP ;cause=600 ;text="Busy Everywhere"

/Regards
Mikael Magnusson

[1]http://bugs.digium.com/bug_view_advanced_page.php?bug_id=4783
[2]http://www.ietf.org/rfc/rfc3326.txt







More information about the asterisk-dev mailing list