[SR-Users] sanity from uri check
Daniel-Constantin Mierla
miconda at gmail.com
Wed Mar 16 10:18:02 CET 2022
I pushed another commit. I tested a few cases:
sipexer -vl 3 -from-uri "sip:@127.0.0.1"
sipexer -vl 3 -from-uri "sip:@127.0.0.1#123"
sipexer -vl 3 -from-uri "sip:a at 127.0.0.1#123"
All fail the uri parser. Before, the #123 was not caught because of the
parser state for "sip:@..." case.
Daniel
On 16.03.22 07:12, Juha Heinanen wrote:
> I suspect that no check in done on From URI, since also this passes the
> test:
>
> INFO: OPTIONS <sip:test at test.tutpro.com> from <sip:@192.168.255.95#5062> is OK
>
> Host must be followed by ; or :, not #.
>
> -- Juha
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
March 28-31, 2022 (Europe Timezone)
* https://www.asipto.com/sw/kamailio-advanced-training-online/
More information about the sr-users
mailing list