Posted: Thu Mar 20, 2008 1:59 pm Post subject: [asterisk-dev] SIP error codes
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.
Posted: Thu Mar 20, 2008 2:15 pm Post subject: [asterisk-dev] SIP error codes
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:
Quote:
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
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum