[asterisk-commits] oej: branch 1.4 r61666 - /branches/1.4/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Apr 16 07:47:06 MST 2007


Author: oej
Date: Mon Apr 16 09:47:05 2007
New Revision: 61666

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61666
Log:
#9483, half of patch by twilson to solve 302 redirect issues

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=61666&r1=61665&r2=61666
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Mon Apr 16 09:47:05 2007
@@ -1312,7 +1312,6 @@
 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 @@
 
 	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) */



More information about the asterisk-commits mailing list