[Serdev] ETSI Enum plugtests - SER message parser problem
Adrian Georgescu
ag at ag-projects.com
Wed Jun 1 09:15:41 UTC 2005
On Jun 1, 2005, at 10:59 AM, Juha Heinanen wrote:
> Adrian Georgescu writes:
>
>> There are some space indeed. This should be better stripped out. Was
>> the space the reason URI could not be parsed?
>
> most likely yes. for performance reasons, i don't want to parse and
> check all sip uris that result from enum queries, because most of the
> time they are correct.
I would not rely on the content published by a remote DNS server. I
would think is good practice to strip leading/trailing spaces in the
ENUM client.
> in incorrect, the request will fail later anyway
> like also happened in this case.
Yes, but it fails miserably sending a 500 back and the accounting did
not log the call because the transaction failed to build.
Secondly, I just saw a scenario where we could call for free to pstn
and accounting failed because the uri was too long. (not related to the
ENUM part).
>
> -- juha
More information about the Serdev
mailing list