]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add timeout support as config option
authorJoao Mesquita <jmesquita@freeswitch.org>
Mon, 26 Apr 2010 22:16:06 +0000 (19:16 -0300)
committerJoao Mesquita <jmesquita@freeswitch.org>
Fri, 18 Jun 2010 21:30:05 +0000 (18:30 -0300)
src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c

index 4e95e1dd0221cd411437475b422976faffa2627b..5f04b118005b350cb14a6855ca3788df5372e2e3 100644 (file)
@@ -340,8 +340,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
                                switch_yield(globals.delay * 1000000);
                        }
 
-                       destUrl = switch_mprintf("%s?uuid=%s&leg=%c", globals.urls[globals.url_index], switch_core_session_get_uuid(session), 
-                               is_b ? 'b' : 'a');
+                       destUrl = switch_mprintf("%s?uuid=%s", globals.urls[globals.url_index], switch_core_session_get_uuid(session));
                        curl_easy_setopt(curl_handle, CURLOPT_URL, destUrl);
 
                        if (!strncasecmp(destUrl, "https", 5)) {