1 of many PRI/SIP gateway related updates

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@648 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-02-22 15:23:10 +00:00
parent 604379fdb3
commit c94e328db7
3 changed files with 3 additions and 1 deletions

View File

@@ -499,7 +499,7 @@ static switch_status channel_outgoing_channel(switch_core_session *session, swit
if (outbound_profile) {
char name[128];
snprintf(name, sizeof(name), "PortAudio/%s-%04x",
caller_profile->destination_number ? outbound_profile->destination_number : modname,
outbound_profile->destination_number ? outbound_profile->destination_number : modname,
rand() & 0xffff);
switch_channel_set_name(channel, name);