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

Olle E. Johansson oej at edvina.net
Tue Aug 2 01:09:26 MST 2005


Mikael Magnusson wrote:
> 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
> 
Thanks!
Excellent!

I searched desperately for a standard header, and did not find it...
There was a reason I used "X-" :-)

Tack, Mikael! ;-)

/O



More information about the asterisk-dev mailing list