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

@ -131,6 +131,7 @@ depends:
./build/buildlib.sh . install apr-1.2.2.tar.gz --prefix=$(PREFIX)
./build/buildlib.sh . install apr-util-1.2.2.tar.gz --with-apr=../apr-1.2.2 --prefix=$(PREFIX)
./build/buildlib.sh . libresample-0.1.3.tgz --prefix=$(PREFIX)
./build/buildlib.sh . install libteletone --prefix=$(PREFIX)
rm build/freeswitch.env

View File

@ -1007,6 +1007,7 @@ depends:
./build/buildlib.sh . install apr-1.2.2.tar.gz --prefix=$(PREFIX)
./build/buildlib.sh . install apr-util-1.2.2.tar.gz --with-apr=../apr-1.2.2 --prefix=$(PREFIX)
./build/buildlib.sh . libresample-0.1.3.tgz --prefix=$(PREFIX)
./build/buildlib.sh . install libteletone --prefix=$(PREFIX)
rm build/freeswitch.env
modules: $(NAME)

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);