[OpenSIPS-Users] sipmsg_validate regression between 3.1.2 and 3.1.3
Alain Bieuzent
alain.bieuzent at free.fr
Mon Jul 19 09:00:31 EST 2021
Hi All,
I’m trying to migrate from 3.1.2 to 3.1.3.
Some calls are drop with a retcode: -12 in 3.1.3 while the same code does not reject the call in 3.1.2.
Script code is :
if(!sipmsg_validate("hrm"))
{
xlog("L_WARN", "Dropping mal formed Messages Retcode : $retcode IP:$si callID: $ci");
send_reply(400, "Bad Request");
exit;
}
As I understand, the call is drop because in RURI the domain part is not an IP address, ex :
INVITE sip:0123456789 at sbc.mydomain.com SIP/2.0, is not working on 3.1.3 but work on 3.1.2
INVITE sip:0123456789 at 1.2.3.4 SIP/2.0, is working on 3.1.3 and 3.1.2
Thanks for your help
Alain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210719/fd5c698d/attachment.html>
More information about the Users
mailing list