--- reqresp_parser.c 2013/09/12 20:38:56 1.1 +++ reqresp_parser.c 2013/09/12 20:51:20 @@ -100,6 +100,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;