Hi!

> Is there a way to change the mappings of disconnect reasons to certain
> SIP messages? E.G. I need to change the mapping for SIP 402 "Payment
> Required" from 16 (normal termination) like it is in 1.4.24 to 21
> (call rejected) as defined in RFC 3398.

* if you think the mapping is wrong, then you should open a ticket on the
Asterisk bug tracker

* the mapping can only be changed in the code - which you ahve

* Asterisk 1.8 will allow to read SIP response codes in the dialplan via
{HASH(SIP_CAUSE,<channel-name>)}. Asterisk 1.8 also comes with a
'use_q850_reason' configuration option for generating and parsing, if
available, "Reason: Q.850;cause=<cause code>".

Philipp


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to