[Freeswitch-svn] [commit] r9927 - freeswitch/trunk/src/mod/endpoints/mod_dingaling

Freeswitch SVN brian at freeswitch.org
Thu Oct 9 22:43:23 EDT 2008


Author: brian
Date: Thu Oct  9 22:43:23 2008
New Revision: 9927

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c

Log:
for the sake of consistency channel names lower case

Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	Thu Oct  9 22:43:23 2008
@@ -1675,7 +1675,7 @@
 		if (outbound_profile) {
 			char name[128];
 
-			switch_snprintf(name, sizeof(name), "DingaLing/%s", outbound_profile->destination_number);
+			switch_snprintf(name, sizeof(name), "dingaling/%s", outbound_profile->destination_number);
 			switch_channel_set_name(channel, name);
 
 			caller_profile = switch_caller_profile_clone(*new_session, outbound_profile);
@@ -2645,7 +2645,7 @@
 																			  ldl_session_get_value(dlsession, "aniii"),
 																			  ldl_session_get_value(dlsession, "rdnis"), modname, context, exten)) != 0) {
 						char name[128];
-						switch_snprintf(name, sizeof(name), "DingaLing/%s", tech_pvt->caller_profile->destination_number);
+						switch_snprintf(name, sizeof(name), "dingaling/%s", tech_pvt->caller_profile->destination_number);
 						switch_channel_set_name(channel, name);
 						switch_channel_set_caller_profile(channel, tech_pvt->caller_profile);
 					}



More information about the Freeswitch-svn mailing list