aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-08 20:27:47 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-08 20:27:47 +0000
commitb8d7b380dde83ecca6e5993ab79a50889cd4f8a0 (patch)
treebacf8c08eda89a3d46076ec1e68762c7f44c3c98 /apps/app_dial.c
parent93816a5d633b91ac0890dbb439299763d03233cd (diff)
Cause SIP to return a 480 instead of a 404 when a sip peer exists, but is not
registered. (closes issue #12885) Reported by: ibc Patches: 20080701__bug12885__2.diff.txt uploaded by Corydon76 (license 14) Tested by: ibc git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@129149 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index b5900b1f2..e5891c4b8 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -341,6 +341,7 @@ static void hanguptree(struct dial_localuser *outgoing, struct ast_channel *exce
ast_cdr_failed(chan->cdr); \
numcongestion++; \
break; \
+ case AST_CAUSE_NO_ROUTE_DESTINATION: \
case AST_CAUSE_UNREGISTERED: \
if (chan->cdr) \
ast_cdr_failed(chan->cdr); \