MODSOFIA-16

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14244 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-07-14 15:00:26 +00:00
parent a2b4bf69fe
commit fc4a5f8498
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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;