mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 14:18:07 +00:00
use ip address from via if received is not there.
This commit is contained in:
parent
1cb2b66ca1
commit
e420bcdd54
1 changed files with 1 additions and 0 deletions
|
|
@ -370,6 +370,7 @@ static int extract_received_rport(osip_message_t *msg, const char **received, in
|
|||
rport=param->gvalue;
|
||||
if (rport && rport[0]!='\0') *rportval=atoi(rport);
|
||||
else *rportval=5060;
|
||||
*received=via->host;
|
||||
}
|
||||
param=NULL;
|
||||
osip_via_param_get_byname(via,"received",¶m);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue