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

MODSOFIA-16

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14244 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a2b4bf69
......@@ -2658,6 +2658,10 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
}
gateway_ptr->ob_calls++;
if (!switch_strlen_zero(gateway_ptr->from_domain)) {
switch_channel_set_variable(nchannel, "sip_invite_domain", gateway_ptr->from_domain);
}
if (gateway_ptr->ob_vars) {
switch_event_header_t *hp;
......
......@@ -356,6 +356,7 @@ struct sofia_gateway {
char *register_context;
char *expires_str;
char *register_url;
char *from_domain;
sofia_transport_t register_transport;
uint32_t freq;
time_t expires;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论