Hi, Am struggling with the PJSIP parser: Passing a string like "sip:1234 at 172.10.20.16:5060"; how can I retrieve the user, host, port, ...? I tried the following but still don't get the desired result pj_status_t status; status = pj_init(); status = pjlib_util_init(); pj_caching_pool cp; pj_caching_pool_init(&cp, NULL, 1024*1024); pj_pool_t *pool = pj_pool_create(&cp.factory, "parser_pool", 4000, 4000, NULL); char* pStr = "sip:5008 at 172.10.20.16:5060"; int len = strlen(pStr); pjsip_uri *pUri = pjsip_parse_uri(pool, pStr, len, 0); const pj_str_t* str = pUri->vptr->p_get_scheme(pStr); // just returns "sip:" void* pvStr = pUri->vptr->p_get_uri(pStr); then what? Any help greatly appreciated! Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120321/2aba6c5a/attachment.html>