diff options
author | Olle Johansson <oej@edvina.net> | 2010-09-16 16:49:28 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2010-09-16 16:49:28 +0000 |
commit | 7c77cebd4e0b42fe9c200059d0a236f5a2d991d4 (patch) | |
tree | d717363e0a472530efb122c9ccaad24ea206e16d /channels | |
parent | c8690dffe1fd8a113be22f209c6e3737f158811f (diff) |
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
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 4157cc835..cf9f41b8a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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: |