[asterisk-dev] SIP disconnect code
Philipp Kempgen
philipp.kempgen at amooma.de
Mon Jul 21 11:51:30 CDT 2008
Philipp Kempgen schrieb:
> Tilghman Lesher schrieb:
>> Or HANGUPCAUSETEXT, a freeform text field that may contain just about
>> anything, but which certain channel drivers may set to a particular format.
>> IAX, in particular, sends both a hangup cause code, as well as a freeform text
>> field. If somebody wanted to implement this, I don't see why it would be
>> disallowed. The only caveat I'd have about SIP is that the text field should
>> contain readable text, in addition to the numeric code (although in a format
>> that allows the numeric code to be extracted easily).
>
> "200 OK"
> "302 Moved Temporarily"
> "404 Not Found"
> ...
Or maybe something like
"SIP 200 OK"
"SIP 302 Moved Temporarily"
etc. so you can tell that the HANGUPCAUSETEXT variable was set
by the SIP (/IAX/...) channel.
Grüße,
Philipp Kempgen
--
http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com
Amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
More information about the asterisk-dev
mailing list