[asterisk-dev] Wrong SIP to SIP SIP Cause mapping

Olle E. Johansson oej at edvina.net
Fri May 25 07:55:59 CDT 2012


25 maj 2012 kl. 14:17 skrev alexandre Moutot:

> Hello,
> 
> 
> I'm using asterisk v1.8 with a standard scenario, A Sip call from A to B through asterisk :
> 
> A --SIP--> ASTERISK --SIP--> B
> 
> The asterisk extension is :
> exten => _X.,1,Dial(SIP/B/${EXTEN},600)
> exten => _X.,n,Hangup()
> 
> When B send a 404 back to the asterisk, the asterisk sends a 503 to A. It is the same with 403 and some others erroc code.
> I think it should send back to A the same error code.
> 
> I have done tests with some versions:
> - 1.8.11.x : wrong sip cause mapping
> - 1.8.12.0 : wrong sip cause mapping
> - 1.8.13.0rc1 : wrong sip cause mapping
> - 1.10.3 : wrong sip cause mapping
> - 1.8.8.0 : works good
> 
> Do i do something wrong or should i open a bug ?

We are not always sending the very same code, but a 4xx class code should not be converted to a 5xx class.

/O


More information about the asterisk-dev mailing list