mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 20:17:05 +00:00
more tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9928 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
afb387c175
commit
72b4603f62
3 files changed
+6
-6
No files matched your search
@@ -779,7 +779,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
||||
if (outbound_profile) {
|
||||
char name[128];
|
||||
const char *id = !switch_strlen_zero(outbound_profile->caller_id_number) ? outbound_profile->caller_id_number : "na";
|
||||
snprintf(name, sizeof(name), "Alsa/%s", id);
|
||||
snprintf(name, sizeof(name), "alsa/%s", id);
|
||||
|
||||
switch_channel_set_name(channel, name);
|
||||
|
||||
@@ -1461,7 +1461,7 @@ static switch_status_t place_call(char **argv, int argc, switch_stream_handle_t
|
||||
NULL,
|
||||
dialplan, cid_name, cid_num, ip, NULL, NULL, NULL, (char *) modname, NULL, dest)) != 0) {
|
||||
char name[128];
|
||||
snprintf(name, sizeof(name), "Alsa/%s", tech_pvt->caller_profile->destination_number ? tech_pvt->caller_profile->destination_number : modname);
|
||||
snprintf(name, sizeof(name), "alsa/%s", tech_pvt->caller_profile->destination_number ? tech_pvt->caller_profile->destination_number : modname);
|
||||
switch_channel_set_name(channel, name);
|
||||
|
||||
switch_channel_set_caller_profile(channel, tech_pvt->caller_profile);
|
||||
|
||||
Reference in new issue
Block a user