Hello,<br><br>is there anywhere an overview of SIP error codes and under which condition they are reported by Asterisk?<br>There are general definitions for SIP error codes, but they are quite general and it's Asterisk that actually checks what's wrong and then reports an error. Now, currently I could check the source code to get more informations what could have caused the error, but that's very time consuming.<br>
<br>An example:<br>I recently had the "488 Not acceptable here" error. There were no more details, only this error code. I had no idea what could cause this error (what is not acceptable?) and where to start looking for problems (except maybe check the source code of Asterisk). A documentation of all possible SIP errors and under which conditions they are reported - like the following example - would be very helpful in such cases:<br>
<br>Description of "488 Not acceptable here"<br>- Could be caused by codec problems, when codec negotiation failed. You can check if the negotiation failed by ....<br>- Can be paused by a phone offering encryption, but only offering RTP/AVP instead of RTP/SAVP profile. Check if the sip log contains a crypto line and only RTP/AVP, if yes, change the phone settings from RTP/AVP to RTP/SAVP or disable RTP encryption in the phone's settings.<br>
[Even better: Besides throwing the error message also add the reason for it, at least in the Asterisk log files. I had a warning from Asterisk before the error code, but a warning is still something different than an error, for me the relation between both, the warning and the error message, weren't clear]<br>
<br><br>Is there something like this already? How about introducing it, e.g. every Asterisk developer throwing an error message in his code adds the reason for throwing the error message to an explanation of possible causes, like in the example above?<br>
<br>Best regards<br>Stefan<br>