We do not handle AST_CAUSE_INTERWORKING which we set on a lot of incoming

SIP messages. Adding error based on RFC 3398 recommendations.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
10-digiumphones
Olle Johansson 15 years ago
parent c8690dffe1
commit 7c77cebd4e

@ -5727,6 +5727,8 @@ const char *hangup_cause2sip(int cause)
return "502 Bad Gateway";
case AST_CAUSE_BEARERCAPABILITY_NOTAVAIL: /* Can't find codec to connect to host */
return "488 Not Acceptable Here";
case AST_CAUSE_INTERWORKING: /* Unspecified Interworking issues */
return "500 Network error";
case AST_CAUSE_NOTDEFINED:
default:

Loading…
Cancel
Save