]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
musta took a wrong toin at albakoyke
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 14 May 2008 14:22:04 +0000 (14:22 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 14 May 2008 14:22:04 +0000 (14:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8396 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/autoload_configs/conference.conf.xml
conf/autoload_configs/modules.conf.xml
src/mod/endpoints/mod_sofia/sofia.c

index 4a11ba8cd5b8351d0dd3743f1ba308eb5298092e..d70e50a5bd2768bb4210b5f6d213e92ccbb7b041 100644 (file)
@@ -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 -->
index 8140b04ce7bf08c0c93f845f35fe7b336d7f9e2d..90a83dd1b7a0d511bf5a927073cd29872962019e 100644 (file)
@@ -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"/> -->
 
index 26429ef40384c061f918c5c8a0f3f34bda2aedb8..4793afa7b421f05f61aeb22a6b3d2dcf132c385b 100644 (file)
@@ -2726,6 +2726,8 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
        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 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
                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");