mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
Clean the new To uri when creating the new INVITE after a redirection.
This commit is contained in:
parent
eb21b8abec
commit
6d11f76cc4
1 changed files with 3 additions and 0 deletions
|
|
@ -404,6 +404,9 @@ int SalOp::process_redirect(){
|
|||
this->call_id = NULL;
|
||||
}
|
||||
belle_sip_request_set_uri(request, redirect_uri);
|
||||
redirect_uri = BELLE_SIP_URI(belle_sip_object_clone(BELLE_SIP_OBJECT(redirect_uri)));
|
||||
belle_sip_uri_set_port(redirect_uri, 0);
|
||||
belle_sip_uri_set_transport_param(redirect_uri, nullptr);
|
||||
belle_sip_header_address_set_uri((belle_sip_header_address_t*)to, redirect_uri);
|
||||
send_request(request);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue