Eric "ManxPower" Wieling wrote: >> On 10/25/07, Douglas Garstang <[EMAIL PROTECTED]> wrote: >>> I'd like to grab the SIP response code that comes back from an INVITE. The >>> HANGUPCAUSE gives the converted ISDN cause code. Anyone know of a way to get >>> the SIP response code instead? > > There is an RFC for this. I don't know if Asterisk follows the RFC or not. > > http://www.faqs.org/rfcs/rfc3398.html
The conversion is "lossy". More than 1 SIP cause code is mapped to a Q.931 cause code (in Asterisk at least). See hangup_sip2cause() in chan_sip.c Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
