Juha Heinanen writes:
> looks to me that there is some bug in AmUriParser parse_uri()
> function.
it turns out that parse_uri() function is not parsing display name at
all:
switch(st) {
case uSUSER:
case uSHOST: uri_host = uri.substr(p1+1, pos-p1-1); break;
case uSPORT: uri_port = uri.substr(p1+1, pos-p1-1); break;
case uSHDR: uri_headers = uri.substr(p1+1, pos-p1-1); break;
case uSPARAM: uri_param = uri.substr(p1+1, pos-p1-1); break;
case uS0:
case uSPROT: { DBG("ERROR while parsing uri\n"); return false; } break;
};
there is another function in AmUriParser called parse_contact that seems
to parse also display name, but that is more low level and requires line
and position arguments.
i don't know how to proceed.
-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems