[Kamailio-Devel] More about URI port and URI parameters when comparing SIP URI's
Iñaki Baz Castillo
ibc at aliax.net
Wed Feb 25 12:46:17 CET 2009
2009/2/25 Juha Heinanen <jh at tutpro.com>:
> Iñaki Baz Castillo writes:
>
> > Well, the fact is that port is *not allowed* in From/To headers, as Table 1
> > states in RFC 3261 (pag 151):
>
> if so, should parsing of such a header fail rather that this:
>
> > Under my understanding this means that the following URI's in a From headers
> > are all equal when comparing them:
> >
> > From: <sip:user at domain.org:5060;myparam=qwe>;tag=1111
> > From: <sip:user at domain.org:9999;myparam2=rty>;tag=2222
> > From: <sip:user at domain.org;myparam3=qweuio;tag=3333
>
> i.e., it makes no sense to compare invalid from headers.
Yes, table 1 says that "port" is not allowed in From URI. But I think
is better to ignore it when comparing isntead of giving error when
parsing (there are too much SIP devices adding the port to the From
header).
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the Devel
mailing list