Add a var with the contact count

This commit is contained in:
Joao Mesquita 2010-06-18 18:39:17 -03:00
parent 41b7cae35c
commit e8f5bbae28

View File

@ -3924,7 +3924,8 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
}
redirect_dialstring = stream.data;
switch_channel_set_variable_printf(channel, "sip_redirect_count", "%d", i);
switch_channel_set_variable(channel, "sip_redirect_dialstring", redirect_dialstring);
switch_channel_set_variable(a_channel, "sip_redirect_dialstring", redirect_dialstring);