[Freeswitch-svn] [commit] r8396 - in freeswitch/trunk: conf/autoload_configs src/mod/endpoints/mod_sofia
Freeswitch SVN
anthm at freeswitch.org
Wed May 14 10:22:04 EDT 2008
Author: anthm
Date: Wed May 14 10:22:04 2008
New Revision: 8396
Modified:
freeswitch/trunk/conf/autoload_configs/conference.conf.xml
freeswitch/trunk/conf/autoload_configs/modules.conf.xml
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Log:
musta took a wrong toin at albakoyke
Modified: freeswitch/trunk/conf/autoload_configs/conference.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/conference.conf.xml (original)
+++ freeswitch/trunk/conf/autoload_configs/conference.conf.xml Wed May 14 10:22:04 2008
@@ -83,6 +83,7 @@
<param name="pin-sound" value="conference/conf-pin.wav"/>
<!-- File to play to when the pin is invalid -->
<param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
+ <param name="comfort-noise-level" value="1400"/>
<!-- Conference pin -->
<!--<param name="pin" value="12345"/>-->
<!-- Default Caller ID Name for outbound calls -->
Modified: freeswitch/trunk/conf/autoload_configs/modules.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/modules.conf.xml (original)
+++ freeswitch/trunk/conf/autoload_configs/modules.conf.xml Wed May 14 10:22:04 2008
@@ -11,7 +11,7 @@
<load module="mod_enum"/>
<!-- XML Interfaces -->
- <!-- <load module="mod_xml_rpc"/> -->
+ <load module="mod_xml_rpc"/>
<!-- <load module="mod_xml_curl"/> -->
<!-- <load module="mod_xml_cdr"/> -->
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Wed May 14 10:22:04 2008
@@ -2726,6 +2726,8 @@
tech_pvt->remote_ip = switch_core_session_strdup(session, network_ip);
tech_pvt->remote_port = network_port;
+ channel = tech_pvt->channel = switch_core_session_get_channel(session);
+
if (sip->sip_contact && sip->sip_contact->m_url) {
char tmp[35] = "";
tech_pvt->record_route = switch_core_session_sprintf(session, "sip:%s@%s:%d",
@@ -2741,7 +2743,6 @@
tech_pvt->key = switch_core_session_strdup(session, key);
}
- channel = tech_pvt->channel = switch_core_session_get_channel(session);
if (is_auth) {
switch_channel_set_variable(channel, "sip_authorized", "true");
More information about the Freeswitch-svn
mailing list