--- reqresp_parser.c 2012/03/10 12:28:43 1.1 +++ reqresp_parser.c 2012/03/10 14:18:06 @@ -96,6 +96,11 @@ dom = c; userinfo = uri; uri = c; /* userinfo can contain ? and ; chars so step forward before looking for params and headers */ + } else if ( (c = strstr(uri, ";phone-context=")) ) { /* TEL URI INVITE */ + *c = '\0'; + dom = c + 15; + userinfo = uri; + uri = dom; } else { /* domain-only URI, according to the SIP RFC. */ dom = uri;