mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +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
@@ -427,7 +427,7 @@ static switch_call_cause_t woomera_outgoing_channel(switch_core_session_t *sessi
|
||||
char name[128];
|
||||
switch_caller_profile_t *caller_profile;
|
||||
|
||||
switch_snprintf(name, sizeof(name), "Woomera/%s-%04x", outbound_profile->destination_number, rand() & 0xffff);
|
||||
switch_snprintf(name, sizeof(name), "woomera/%s-%04x", outbound_profile->destination_number, rand() & 0xffff);
|
||||
switch_channel_set_name(channel, name);
|
||||
|
||||
caller_profile = switch_caller_profile_clone(*new_session, outbound_profile);
|
||||
@@ -978,7 +978,7 @@ static void *woomera_channel_thread_run(switch_thread_t *thread, void *obj)
|
||||
tech_pvt->profile->dialplan,
|
||||
cid_name, cid_num, ip, NULL, NULL, NULL, modname, NULL, exten)) != 0) {
|
||||
char name[128];
|
||||
switch_snprintf(name, sizeof(name), "Woomera/%s-%04x", tech_pvt->caller_profile->destination_number, rand() & 0xffff);
|
||||
switch_snprintf(name, sizeof(name), "woomera/%s-%04x", tech_pvt->caller_profile->destination_number, rand() & 0xffff);
|
||||
switch_channel_set_name(channel, name);
|
||||
switch_channel_set_caller_profile(channel, tech_pvt->caller_profile);
|
||||
|
||||
|
||||
Reference in new issue
Block a user