first you need use pjsip_endpt_create_request() to build OPTIONS packet. and then use pjsip_endpt_send_request() to set callback func and send data out. http://www.pjsip.org/pjsip/docs/html/group__PJSIP__ENDPT__STATELESS.htm#g6a5dc2cd5b43a1adf869c9746593f818 http://www.pjsip.org/pjsip/docs/html/group__PJSIP__TRANSACT__UTIL.htm#ga4c9a6482b6077351daf2f7974ae7371 regards, Gang On Fri, Nov 27, 2009 at 7:26 PM, Srinivasa Rao C <srinivasa.rao at sourceedge.com> wrote: > Hi > > I need to send OPTIONS packet to proxy server to test connectivity to Proxy > server. It?s a requirement in my application. It means I need to send it in > out of dialog. Can you point me to right API to do this and callback to use > to get response? > > > > Regards > > Srinivasa Rao Chigurupati > > Tech Lead > > SourceEdge Software Technologies > Bangalore, India > Phone: +91 80 40720500 > Fax: +91 80 40720555 > srinivasa.rao at sourceedge.com > > http://www.sourceedge.com/ > > > > _______________________________________________ > 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 > >