提交 c72c5907 authored 作者: Anthony Minessale's avatar Anthony Minessale

double sigh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7861 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a5f825ce
...@@ -915,6 +915,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session) ...@@ -915,6 +915,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
char *rpid_domain = "cluecon.com", *p; char *rpid_domain = "cluecon.com", *p;
const char *priv = "off"; const char *priv = "off";
const char *screen = "no"; const char *screen = "no";
const char *invite_params = switch_channel_get_variable(tech_pvt->channel, "sip_invite_params");
if (switch_strlen_zero(tech_pvt->dest)) { if (switch_strlen_zero(tech_pvt->dest)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "URL Error! [%s]\n", tech_pvt->dest); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "URL Error! [%s]\n", tech_pvt->dest);
...@@ -980,11 +981,11 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session) ...@@ -980,11 +981,11 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
} }
} }
url_str = sofia_overcome_sip_uri_weakness(session, url, tech_pvt->transport, SWITCH_TRUE, url_str = sofia_overcome_sip_uri_weakness(session, url, tech_pvt->transport, SWITCH_TRUE, invite_params);
switch_channel_get_variable(tech_pvt->channel, "sip_invite_params"));
invite_contact = sofia_overcome_sip_uri_weakness(session, tech_pvt->invite_contact, tech_pvt->transport, SWITCH_FALSE, NULL); invite_contact = sofia_overcome_sip_uri_weakness(session, tech_pvt->invite_contact, tech_pvt->transport, SWITCH_FALSE, NULL);
from_str = sofia_overcome_sip_uri_weakness(session, use_from_str, 0, SWITCH_FALSE, NULL); from_str = sofia_overcome_sip_uri_weakness(session, use_from_str, 0, SWITCH_FALSE, NULL);
to_str = sofia_overcome_sip_uri_weakness(session, tech_pvt->dest_to, 0, SWITCH_FALSE, NULL); to_str = sofia_overcome_sip_uri_weakness(session, tech_pvt->dest_to, 0, SWITCH_FALSE, invite_params);
/* /*
Does the "genius" who wanted SIP to be "text-based" so it was "easier to read" even use it now, Does the "genius" who wanted SIP to be "text-based" so it was "easier to read" even use it now,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论