FS-3244 --resolve next time also attach a backtrace

This commit is contained in:
Anthony Minessale 2011-04-13 16:15:15 -05:00
parent 2bf69d621f
commit 2b6f70708c

View File

@ -7047,9 +7047,10 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
}
if (!gateway && gw_param_name) {
gateway = sofia_reg_find_gateway(gw_param_name);
if ((gateway = sofia_reg_find_gateway(gw_param_name))) {
extension = gateway->real_extension;
}
}
if (gateway) {
context = switch_core_session_strdup(session, gateway->register_context);