One thing worth to mention is that prt member is NOT NULL terminated. On Aug 12, 2010, at 10:59 AM, tarun sharma wrote: > doesn't pj_str_t already have a char* member named "prt"?? Assming u > want to store string n the resulting char*. > > 2010/8/12 Kabil Akp?nar <kabilakpinar at gmail.com>: >> How to convert a pj_str_t to char *, what is your suggestion? In fact there >> are lots of approaches but what is the way of doing this under pjsip? >> >> -- >> Kabil Akp?nar >> >> _______________________________________________ >> 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 >> >> > > _______________________________________________ > 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 ------ Alejandro Orellana Savant Systems, LLC 770 Main Street Osterville, Ma. 02655 (508) 683-2547 (W) (508) 683-2647 (F) Alejandro.Orellana at savantav.com Statement of Confidentiality The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683-2500 and delete this message and its attachments, if any. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100812/d9ffa19c/attachment.html>