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

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Tue Aug 2 11:01:29 MST 2005


On Tuesday 02 August 2005 11:40, Tilghman Lesher wrote:
> That's great when you have a SIP-only system.  However, how do you
> translate between SIP codes and PRI codes?  IAX also used to send around
> text hangup causes, which are great when you're running only IAX
> clients, but aren't so great when you need to communicate the reason a
> call failed back across a PRI.  This is the reason we added PRI hangup
> cause codes to the IAX protocol, via an IE.  The same thing applies to
> SIP:  we need a way to transmit cause codes, regardless of protocol
> translations.

Any problem with encoding that in the header and, failing that, just use an 
"X-PRI-Causecode: 16" type of header?  Perhaps someone else will find an 
appropriate header to convey that, just as Mikael did here.  :-)

-A.



More information about the asterisk-dev mailing list