diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-05-01 20:01:21 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-05-01 20:01:21 +0000 |
commit | a3229fd3e274c321e72bcb1701768c9b3ceecf07 (patch) | |
tree | c428bb4bb0a7a89049c3000a4e6b2e849f49a821 /channels | |
parent | 451c59aa18979bba5e7cd6bd650a4152262a1225 (diff) |
Merged revisions 191559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r191559 | tilghman | 2009-05-01 15:00:23 -0500 (Fri, 01 May 2009) | 6 lines
SIP Response 410 maps to cause code 22 (or 23), not 1.
(closes issue #14993)
Reported by: BigJimmy
Patches:
causepatch uploaded by BigJimmy (license 371)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@191560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d4aab4a8a..c3fb59f15 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5521,7 +5521,7 @@ static int hangup_sip2cause(int cause) case 409: /* Conflict */ return AST_CAUSE_NORMAL_TEMPORARY_FAILURE; case 410: /* Gone */ - return AST_CAUSE_UNALLOCATED; + return AST_CAUSE_NUMBER_CHANGED; case 411: /* Length required */ return AST_CAUSE_INTERWORKING; case 413: /* Request entity too large */ |