Sepehrom
Sepehrom

Reputation: 1335

How to change LinPhone SIP Port on iOS?

Does anybody know how change SIP port for Linphone-iPhone ( The iOS Version ) to something other than its default value ( 5060 ) ?

Upvotes: 2

Views: 5692

Answers (3)

D4ttatraya
D4ttatraya

Reputation: 3404

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.

Like this: enter image description here

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 :(

Upvotes: 2

mixtly87
mixtly87

Reputation: 1695

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.

Upvotes: 0

Related Questions