diff --git a/Makefile.am b/Makefile.am index 80d65b2eb8..cb1e272d2a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/Makefile.in b/Makefile.in index 4319a72d82..e9121f6ae2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 259ee185ac..412f3d8d6f 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -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);