[Freeswitch-svn] [commit] r2838 -	freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml
    Freeswitch SVN 
    mikej at freeswitch.org
       
    Tue Sep 26 10:06:38 EDT 2006
    
    
  
Author: mikej
Date: Tue Sep 26 10:06:37 2006
New Revision: 2838
Modified:
   freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c
Log:
fix windows line endings... thanks Mr.B for the report.
Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c
==============================================================================
--- freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c	(original)
+++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c	Tue Sep 26 10:06:37 2006
@@ -274,14 +274,14 @@
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Processing %s->%s!\n", caller_profile->caller_id_name,
 					  caller_profile->destination_number);
 	
-	snprintf(params, sizeof(params), "context=%s&dest=%s&cid_name=%s&cid_num=%s&netaddr=%s&ani=%s&ani2=%s&rdnis=%s&source=%s&chan_name=%s&uuid=%s", 
-			caller_profile->context, caller_profile->destination_number,
-			caller_profile->caller_id_name, caller_profile->caller_id_number,
-			caller_profile->network_addr?caller_profile->network_addr:"", 
-			caller_profile->ani?caller_profile->ani:"", 
-			caller_profile->ani2?caller_profile->ani2:"",
-			caller_profile->rdnis?caller_profile->rdnis:"", 
-			caller_profile->source, caller_profile->chan_name, caller_profile->uuid);
+	snprintf(params, sizeof(params), "context=%s&dest=%s&cid_name=%s&cid_num=%s&netaddr=%s&ani=%s&ani2=%s&rdnis=%s&source=%s&chan_name=%s&uuid=%s", 
+			caller_profile->context, caller_profile->destination_number,
+			caller_profile->caller_id_name, caller_profile->caller_id_number,
+			caller_profile->network_addr?caller_profile->network_addr:"", 
+			caller_profile->ani?caller_profile->ani:"", 
+			caller_profile->ani2?caller_profile->ani2:"",
+			caller_profile->rdnis?caller_profile->rdnis:"", 
+			caller_profile->source, caller_profile->chan_name, caller_profile->uuid);
 
 	if (switch_xml_locate("dialplan", NULL, NULL, NULL, &xml, &cfg, params) != SWITCH_STATUS_SUCCESS) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of dialplan failed\n");
    
    
More information about the Freeswitch-svn
mailing list