]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
reapply revert
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 16 Jul 2011 16:37:03 +0000 (11:37 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 16 Jul 2011 16:37:03 +0000 (11:37 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index c697e3cfe6084981811f2d49ce4b88f962c887a9..508e5b19dc134ea00ddc5bb1a3c6b156fa3c0b76 100644 (file)
@@ -5352,6 +5352,7 @@ static int recover_callback(void *pArg, int argc, char **argv, char **columnName
                switch_channel_set_variable(channel, "sip_handle_full_to", switch_channel_get_variable(channel, "sip_full_to"));
        } else {
 
+               tech_pvt->redirected = switch_core_session_sprintf(session, "sip:%s", switch_channel_get_variable(channel, "sip_contact_uri"));
 
                switch_channel_set_variable_printf(channel, "sip_invite_route_uri", "<sip:%s@%s:%s;lr>",
                                                                                   switch_channel_get_variable(channel, "sip_from_user"),