mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-23 16:59:11 -07:00
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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user