[asterisk-dev] SIP error codes
Sergey Okhapkin
sos at sokhapkin.dyndns.org
Thu Mar 20 08:59:07 CDT 2008
I made a similar change in chan_sip.c for "603 Declined" a while ago, it's
a "congestion", but not "busy".
On Thursday 20 March 2008 09:42:16 am Paul Hewlett wrote:
> I saw the thread relating to SIP error codes and ISDN hangup cause -
> Olle Johansson stated that feedback would be welcome:
>
> I recently changed the asterisk response to a 402 "Payment required" -
> chan-sip.c simply hangs up when a 402 is returned.
> I added the 402 to the same response as 503 "Service unavailable" which
> returns CONGESTION - this allows my dialplan to fall thru to
> try a different trunk. This appears to work well - it is a very small
> change so I *really* don't want to submit a bug report.
>
> Regards Paul
More information about the asterisk-dev
mailing list