Commit d2811ccf authored by jehan's avatar jehan

fix refresher redirect case

parent d5eea470
......@@ -454,7 +454,7 @@ static int belle_sip_refresher_refresh_internal(belle_sip_refresher_t* refresher
refresher->transaction=client_transaction;
belle_sip_object_ref(refresher->transaction);
if (belle_sip_client_transaction_send_request_to(client_transaction,preset_route)) {
if (belle_sip_client_transaction_send_request_to(client_transaction,requri?requri:preset_route)) { /*send imediatly to requri in case of redirect*/
belle_sip_error("Cannot send refresh method [%s] for refresher [%p]"
,belle_sip_request_get_method(request)
,refresher);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment