musta took a wrong toin at albakoyke
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8396 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1a43d04045
commit
f6df5e2033
|
@ -83,6 +83,7 @@
|
||||||
<param name="pin-sound" value="conference/conf-pin.wav"/>
|
<param name="pin-sound" value="conference/conf-pin.wav"/>
|
||||||
<!-- File to play to when the pin is invalid -->
|
<!-- File to play to when the pin is invalid -->
|
||||||
<param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
|
<param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
|
||||||
|
<param name="comfort-noise-level" value="1400"/>
|
||||||
<!-- Conference pin -->
|
<!-- Conference pin -->
|
||||||
<!--<param name="pin" value="12345"/>-->
|
<!--<param name="pin" value="12345"/>-->
|
||||||
<!-- Default Caller ID Name for outbound calls -->
|
<!-- Default Caller ID Name for outbound calls -->
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<load module="mod_enum"/>
|
<load module="mod_enum"/>
|
||||||
|
|
||||||
<!-- XML Interfaces -->
|
<!-- XML Interfaces -->
|
||||||
<!-- <load module="mod_xml_rpc"/> -->
|
<load module="mod_xml_rpc"/>
|
||||||
<!-- <load module="mod_xml_curl"/> -->
|
<!-- <load module="mod_xml_curl"/> -->
|
||||||
<!-- <load module="mod_xml_cdr"/> -->
|
<!-- <load module="mod_xml_cdr"/> -->
|
||||||
|
|
||||||
|
|
|
@ -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_ip = switch_core_session_strdup(session, network_ip);
|
||||||
tech_pvt->remote_port = network_port;
|
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) {
|
if (sip->sip_contact && sip->sip_contact->m_url) {
|
||||||
char tmp[35] = "";
|
char tmp[35] = "";
|
||||||
tech_pvt->record_route = switch_core_session_sprintf(session, "sip:%s@%s:%d",
|
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);
|
tech_pvt->key = switch_core_session_strdup(session, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
channel = tech_pvt->channel = switch_core_session_get_channel(session);
|
|
||||||
|
|
||||||
if (is_auth) {
|
if (is_auth) {
|
||||||
switch_channel_set_variable(channel, "sip_authorized", "true");
|
switch_channel_set_variable(channel, "sip_authorized", "true");
|
||||||
|
|
Loading…
Reference in New Issue