From e8f71c156d718dcbdc5b28362f95ac54cc8a1132 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 20 Oct 2008 14:09:45 +0000 Subject: [PATCH] add fix from MODENDP-143 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10079 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 4ee63ca1c8..8011683c37 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2891,7 +2891,7 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t 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;