mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 04:58:14 +00:00
update ms2 and fix non ansi c
This commit is contained in:
parent
a24ea4b180
commit
d1cee9558b
3 changed files with 4 additions and 2 deletions
|
|
@ -249,13 +249,14 @@ static char *guess_contact_for_register(LinphoneProxyConfig *obj){
|
|||
if (host!=NULL){
|
||||
LinphoneAddress *contact;
|
||||
char localip[LINPHONE_IPADDR_SIZE];
|
||||
LCSipTransports tr;
|
||||
|
||||
linphone_core_get_local_ip(obj->lc,host,localip);
|
||||
contact=linphone_address_new(obj->reg_identity);
|
||||
linphone_address_set_domain (contact,localip);
|
||||
linphone_address_set_port_int(contact,linphone_core_get_sip_port(obj->lc));
|
||||
linphone_address_set_display_name(contact,NULL);
|
||||
LCSipTransports tr;
|
||||
|
||||
linphone_core_get_sip_transports(obj->lc,&tr);
|
||||
if (tr.udp_port <= 0 && tr.tcp_port>0) {
|
||||
sal_address_add_param(contact,"transport","tcp");
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 9557b33ab49e4c309bc1f954a2afae25079c757a
|
||||
Subproject commit 874577ad3a835255fc719da26f5dbdadf301aa01
|
||||
|
|
@ -29,6 +29,7 @@ coreapi/presence.c
|
|||
coreapi/friend.c
|
||||
coreapi/proxy.c
|
||||
coreapi/callbacks.c
|
||||
coreapi/sal_eXosip2.c
|
||||
mediastreamer2/src/alaw.c
|
||||
mediastreamer2/src/alsa.c
|
||||
mediastreamer2/src/aqsnd.c
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue