[Asterisk-Dev] Handling SIP response 480

Papadopoulos Georgios geop at altectelecoms.gr
Tue Jan 3 02:09:57 MST 2006


Hello,

I have been using Asterisk for quite some time, but this is the first
time I am digging into the code. (version is 1.2.1)
 
I have a SIP client that when in DND (Do Not Disturb) mode sends back a
480 Temporarily Unavailable response. Asterisk then forwards to the
calling party a 500 Server Internal Error. Looking into the code I found
that function hangup_sip2cause in chan_sip.c translates 480 to
AST_CAUSE_FAILURE. Shouldn't it be AST_CAUSE_NO_ANSWER?

I am not sure if this is a bug and whether I should submit it to the bug
tracker. Any feedback will be greatly appreciated.

thanks

George

Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.





More information about the asterisk-dev mailing list