From: Olle Johansson Date: Mon, 16 Apr 2007 14:47:05 +0000 (+0000) Subject: #9483, half of patch by twilson to solve 302 redirect issues X-Git-Tag: 1.4.7.1~429 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc6d309bdbae3d7783a908a7166e354a95c6509b;p=thirdparty%2Fasterisk.git #9483, half of patch by twilson to solve 302 redirect issues git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61666 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6a816962a8..22b8260c05 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1312,7 +1312,6 @@ static struct sip_auth *find_realm_authentication(struct sip_auth *authlist, con static int sip_do_reload(enum channelreloadreason reason); static int reload_config(enum channelreloadreason reason); static int expire_register(void *data); -static int sip_sipredirect(struct sip_pvt *p, const char *dest); static void *do_monitor(void *data); static int restart_monitor(void); static int sip_send_mwi_to_peer(struct sip_peer *peer); @@ -17136,8 +17135,7 @@ static int sip_sipredirect(struct sip_pvt *p, const char *dest) sip_scheddestroy(p, 32000); /* Make sure we stop send this reply. */ - /* hangup here */ - return -1; + return 0; } /*! \brief Return SIP UA's codec (part of the RTP interface) */