MODSOFIA-16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14244 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a2b4bf69fe
commit
fc4a5f8498
|
@ -2658,6 +2658,10 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
||||||
}
|
}
|
||||||
|
|
||||||
gateway_ptr->ob_calls++;
|
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) {
|
if (gateway_ptr->ob_vars) {
|
||||||
switch_event_header_t *hp;
|
switch_event_header_t *hp;
|
||||||
|
|
|
@ -356,6 +356,7 @@ struct sofia_gateway {
|
||||||
char *register_context;
|
char *register_context;
|
||||||
char *expires_str;
|
char *expires_str;
|
||||||
char *register_url;
|
char *register_url;
|
||||||
|
char *from_domain;
|
||||||
sofia_transport_t register_transport;
|
sofia_transport_t register_transport;
|
||||||
uint32_t freq;
|
uint32_t freq;
|
||||||
time_t expires;
|
time_t expires;
|
||||||
|
|
Loading…
Reference in New Issue