mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-01 03:05:50 +00:00
FS-4484 I missed the part about gateways, that is a different story. Try this patch
This commit is contained in:
parent
f6ca367fff
commit
beed0336c0
@ -4568,9 +4568,10 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
|||||||
dest_to = NULL;
|
dest_to = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params) {
|
if (params) {
|
||||||
tech_pvt->invite_contact = switch_core_session_sprintf(nsession, "%s;%s", gateway_ptr->register_contact, params);
|
tech_pvt->invite_contact = switch_core_session_sprintf(nsession, "%s;%s", gateway_ptr->register_contact, params);
|
||||||
|
tech_pvt->dest = switch_core_session_sprintf(nsession, "%s;%s", tech_pvt->dest, params);
|
||||||
} else {
|
} else {
|
||||||
tech_pvt->invite_contact = switch_core_session_strdup(nsession, gateway_ptr->register_contact);
|
tech_pvt->invite_contact = switch_core_session_strdup(nsession, gateway_ptr->register_contact);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user