From: Automerge script Date: Mon, 26 Jun 2006 16:01:40 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.10-netsec~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f9b26b7e38d338a34d6920097b354b413ef93e3;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@36050 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 350a3e666a..0f561e0053 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) {