有人知道如何将Linphone-iPhone(iOS版本)的SIP端口更改为其默认值(5060)以外的值吗?
Probably too late, but maybe this can be helpful:
LCSipTransports transport;
linphone_core_get_sip_transports(linphoneCore, &transport);
transport.tls_port = 5061;
linphone_core_set_sip_transports(linphoneCore, &transport);
This code can be placed in createCore
method, where linphoneCore is created.
If you choose SIP Account while login, and tapped TLS , it automatically goes to 5061 , I suspected!
But if you want port something different than 5060 and 5061 you can change it using Settings screen by tapping on account name and adding proxy .
After editing proxy and tapping back button, it will automatically starts connecting to given port(thanks for logs)
BTW, I wanted to put comment on @mixtly87, but don't know how to add image in comment :(
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.