[svn-commits] file: trunk r44807 - in /trunk: ./ channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Oct 10 09:31:06 MST 2006


Author: file
Date: Tue Oct 10 11:31:05 2006
New Revision: 44807

URL: http://svn.digium.com/view/asterisk?rev=44807&view=rev
Log:
Merged revisions 44806 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44806 | file | 2006-10-10 12:30:00 -0400 (Tue, 10 Oct 2006) | 2 lines

Bail out if we have no refer structure and we get a refer response

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=44807&r1=44806&r2=44807&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Oct 10 11:31:05 2006
@@ -11488,6 +11488,12 @@
 {
 	char *auth = "Proxy-Authenticate";
 	char *auth2 = "Proxy-Authorization";
+
+	/* If no refer structure exists, then do nothing */
+	if (!p->refer) {
+		ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
+		return;
+	}
 
 	switch (resp) {
 	case 202:   /* Transfer accepted */



More information about the svn-commits mailing list