aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-26 16:01:40 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-26 16:01:40 +0000
commitc915d2858b1c24ea4547441136beaa17335c20bc (patch)
tree45f820d93ebbb69ca9b42776dd26a6d49a80644b /channels
parentd6143827201bb3253609111d52a1736254732b9a (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@36050 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 350a3e666..0f561e005 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -10780,9 +10780,9 @@ static int handle_request_refer(struct sip_pvt *p, struct sip_request *req, int
strcpy(p->context, default_context);
res = get_refer_info(p, req);
if (res < 0)
- transmit_response_with_allow(p, "404 Not Found", req, 1);
+ transmit_response(p, "603 Declined", req);
else if (res > 0)
- transmit_response_with_allow(p, "484 Address Incomplete", req, 1);
+ transmit_response(p, "484 Address Incomplete", req);
else {
int nobye = 0;
if (!ignore) {
@@ -10834,6 +10834,7 @@ static int handle_request_refer(struct sip_pvt *p, struct sip_request *req, int
}
return res;
}
+
/*! \brief handle_request_cancel: Handle incoming CANCEL request ---*/
static int handle_request_cancel(struct sip_pvt *p, struct sip_request *req, int debug, int ignore)
{