diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-08 20:27:47 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-08 20:27:47 +0000 |
commit | b8d7b380dde83ecca6e5993ab79a50889cd4f8a0 (patch) | |
tree | bacf8c08eda89a3d46076ec1e68762c7f44c3c98 /apps | |
parent | 93816a5d633b91ac0890dbb439299763d03233cd (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')
-rw-r--r-- | apps/app_dial.c | 1 |
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); \ |