summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-07-08 20:30:29 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-07-08 20:30:29 +0000
commitda03cdd174465af1429358bef0a72c365932b3ee (patch)
tree34362d43cf41eeaf9715ab0d6e24677ea5ff9a18 /apps/app_dial.c
parent675f3ec34812a6bd26320400d202676a12faa5d7 (diff)
Merged revisions 129149 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r129149 | tilghman | 2008-07-08 15:27:47 -0500 (Tue, 08 Jul 2008) | 8 lines 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: https://origsvn.digium.com/svn/asterisk/trunk@129152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 370ac711b..fa56184c5 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -387,6 +387,7 @@ static void handle_cause(int cause, struct cause_args *num)
num->congestion++;
break;
+ case AST_CAUSE_NO_ROUTE_DESTINATION:
case AST_CAUSE_UNREGISTERED:
if (cdr)
ast_cdr_failed(cdr);