On Wed, Apr 2, 2008 at 9:26 AM, Senthil Raja <vsraja at yahoo.com> wrote: > > Benny, et al, > How does one get the "user" part of the sip URI (sip:user at domain.com). The > sip_uri structure only supports the following api's; > "pjsip_uri_get_schema" which gives only the scheme "sip" and > "pjsip_uri_print" which gives the whole uri-string "<sip:user at domain.com>" > Appreciate your help. Use pjsip_parse_uri() and pjsip_uri_get_uri() to typecast the result into pjsip_sip_uri. More info please read the PJSIP Developers Guide PDF. :) Cheers Benny > Regards, > Senthil. >