Hi Ankhit, To my knowledge, this capability is not built into pjsip, but you can do it manually. It requires detecting the error, and then restarting pjsip with a different port. I've had to do this to to handle port already used by another SIP application. Regards, Bill On 6/11/2015 10:43 AM, Ankhit Vivekananda wrote: > Hello, > > I was wondering if there is a way to switch ports (say from 5060 to > 4060) automatically upon a failure of registration or a call. This is > to ensure the application provided with certain ports can > automatically switch ports during a failure and resolve on a different > port. > > Please do let me know. > > Thank you, > Ankhit > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150611/bd311209/attachment.html>