Hi Lokesh,
Changing a port with PJSIP is really easy. You can do it this way :
private
TransportConfig
transportConfig
;
transportConfig
=
new
TransportConfig()
;
transportConfig
.setPort(
myPort
)
;
endpoint
.libInit(
epConfig
)
;
endpoint
.transportCreate(pjsip_transport_type_e.
PJSIP_TRANSPORT_UDP
,
transportConfig
)
;
endpoint
.libStart()
;
And don’t forget to call the delete method when you don’t need anymore the object. Let me know if it’s working.
Cheers,
Fanilo Gabaud
Sent from
https://polymail.io/?utm_source=polymail&utm_medium=referral&utm_campaign=signature
On jeu. 22 sept. 2016 at 12:46 Lokesh Bhat
<
mailto:Lokesh Bhat <lokeshbhat1991@xxxxxxxxx>
> wrote:
a, pre, code, a:link, body { word-wrap: break-word !important; }
Hello,
I'm using PJSIP on android 4.4.2. I'm not able to make any calls to the above said device. I'm using the PJSIP on Ubuntu in the other device. Upon verification from Wireshark packet capture in the linux device it seems that the port (port 5060) on the android device is not reachable.
Upon searching in the internet, i found that it may be solved by using different port other than 5060. If this is the solution, then kindly let me know how to change the port in PJSIP.
If above said solution is not true then kindly let me know if there is any other way around.
--
Thanks and Regards
~ Lokesh Bhat
_______________________________________________
Visit our blog:
http://blog.pjsip.org
pjsip mailing list
mailto:pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org