From: Luis Azedo Date: Thu, 18 Aug 2016 15:23:55 +0000 (-0500) Subject: FS-9440 add transfer_destination X-Git-Tag: v1.6.10~1^2~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea5b39365af78be85b73673699040727ec9952c9;p=thirdparty%2Ffreeswitch.git FS-9440 add transfer_destination --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index b6284a6b70..7f886a307d 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -8903,6 +8903,7 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t switch_core_session_t *b_session; switch_channel_set_variable_printf(channel, "transfer_to", "blind:%s", br ? br : exten); + switch_channel_set_variable_printf(channel, "transfer_destination", "blind:%s", exten); if (!zstr(br) && (b_session = switch_core_session_locate(br))) { const char *var;