From: Anthony Minessale Date: Mon, 20 Oct 2008 14:09:45 +0000 (+0000) Subject: add fix from MODENDP-143 X-Git-Tag: v1.0.2~761 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f71c156d718dcbdc5b28362f95ac54cc8a1132;p=thirdparty%2Ffreeswitch.git add fix from MODENDP-143 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10079 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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;