You could take a look at pjsua-lib how it is implemented their. regards klaus vinay n schrieb: > Hi All, > > I am facing an issue in using stun for our project. i am using > stun_sock.c file API for stun and pjsip-core and pjsip-simpe API for > SIP.now i have to use 5060 port for both stun(UDP) and SIP(UDP) > transport as a source port , which i am not able do.can any body > suggest me .. how to use stun and SIP on same port. > > > Thanks and Regards > > > Vinay N > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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