]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
for the sake of consistency channel names lower case
authorBrian West <brian@freeswitch.org>
Fri, 10 Oct 2008 02:43:23 +0000 (02:43 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 10 Oct 2008 02:43:23 +0000 (02:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9927 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_dingaling/mod_dingaling.c

index 346a55acc2c9d726b16273d5e177bc78cb4788f8..396e1dc990881bb2074969914723a9221eee0aa3 100644 (file)
@@ -1675,7 +1675,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
                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 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi
                                                                                                                                                          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);
                                        }