]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add fix from MODENDP-143
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 20 Oct 2008 14:09:45 +0000 (14:09 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 20 Oct 2008 14:09:45 +0000 (14:09 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10079 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 4ee63ca1c8593ecbae08d4289761a089ea0ecc4d..8011683c3767608738e5638e2566cda5e93b7acb 100644 (file)
@@ -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;