[Freeswitch-svn] [commit] r10079 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Mon Oct 20 10:09:45 EDT 2008


Author: anthm
Date: Mon Oct 20 10:09:45 2008
New Revision: 10079

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
add fix from MODENDP-143

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Mon Oct 20 10:09:45 2008
@@ -2891,7 +2891,7 @@
 
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Process REFER to [%s@%s]\n", exten, (char *) refer_to->r_url->url_host);
 
-		if (refer_to->r_url->url_headers) {
+		if (refer_to->r_url->url_headers && strstr(refer_to->r_url->url_headers, "Replaces=")) {
 			sip_replaces_t *replaces;
 			nua_handle_t *bnh;
 			char *rep;



More information about the Freeswitch-svn mailing list