Hi Nabeel,

    Use below code to set SIP registration port:
LinphoneProxyConfig proxyConfig = linphoneCore.createProxyConfig(identity,
linphoneAddress.asStringUriOnly(), null, true);
...
proxyConfig.setProxy("sip:" + domain + ":" + port);
...
...
linphoneCore.addProxyConfig(proxyConfig);


Create address and set transport port:
LinphoneAddress linphoneAddress = LinphoneCoreFactory.instance().
createLinphoneAddress(identity);
linphoneAddress.setTransport(LinphoneAddress.TransportType.
LinphoneTransportTcp);
linphoneAddress.setPort(port);



On Mon, Apr 25, 2016 at 7:46 AM, Nabeel <[email protected]> wrote:

> Hi,
>
> I have tried to change the SIP port on Android by adding this to the
> linphonerc files:
>
> [sip]
> sip_port=5353
>
> However, on the server using tcpdump, I can see that the SIP messages are 
> still being transferred on port 5060.
>
> Please let me know how I can change the SIP port so that registration and 
> messages to the server occur on a different port.
>
>
> Nabeel
>
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/linphone-developers
>
>


-- 

Regards,
J Alex Antony Vijay.
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to