aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-01 20:00:23 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-01 20:00:23 +0000
commit0e48a3a5d388fb4ca14906dbd023ad4747fd6097 (patch)
tree54ad194bc3faf4aa62d6fa42e3976a006b4ba342 /channels
parentb36ee19d92315f67aca4d4c8f726ec878722d8d9 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@191559 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index b882f2cb0..82d47d2fb 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -3420,7 +3420,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 */