[OpenSIPS-Users] STIR/SHAKEN E.164 strict mode module parameter not working .

Devang Dhandhalya devang.dhandhalya at ecosmob.com
Wed Nov 17 06:07:20 EST 2021


Hi All

I configured the e164 strict mode module parameter as 0 (disabled) . but
still i am getting errors related to its e164 format .While if orig/dest
number is not in e164 format then also opensips have to accept it but it is
not accepting .  I have a user like extension123 for this function I have
to perform authentication service . if i have a user extension123 is it
possible to perform authenticate service for this kind of user ?

I think this is a bug for the e164 strict mode  module parameter . I am
getting the below error .

opensips version : 3.2.2

ERROR :
 ERROR:stir_shaken:check_passport_phonenum: number is not in E.164 format:
extension123
 ERROR:stir_shaken:w_stir_auth: failed to validate Originator number
(extension123)


loadmodule "stir_shaken.so"
modparam("stir_shaken", "auth_date_freshness", 300)
modparam("stir_shaken", "verify_date_freshness", 300)
modparam("stir_shaken", "require_date_hdr", 0)
modparam("stir_shaken", "e164_strict_mode", 0)

$var(orig) = $fU;
$var(dest) = $tU
 $var(rc_auth)=stir_shaken_auth("A", "GWID-123456","$var(cert)",
"$var(pkey)","http://localhost/certificate.pem","$var(orig)","$var(dest)");

Please suggest a solution to this .

Many Thanks
Devang

-- 
*Disclaimer*
In addition to generic Disclaimer which you have agreed on our 
website, any views or opinions presented in this email are solely those of 
the originator and do not necessarily represent those of the Company or its 
sister concerns. Any liability (in negligence, contract or otherwise) 
arising from any third party taking any action, or refraining from taking 
any action on the basis of any of the information contained in this email 
is hereby excluded.



*Confidentiality*
This communication (including any 
attachment/s) is intended only for the use of the addressee(s) and contains 
information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, 
dissemination, distribution, or copying of this communication is 
prohibited. Please inform originator if you have received it in error.


*Caution for viruses, malware etc.*
This communication, including any 
attachments, may not be free of viruses, trojans, similar or new 
contaminants/malware, interceptions or interference, and may not be 
compatible with your systems. You shall carry out virus/malware scanning on 
your own before opening any attachment to this e-mail. The sender of this 
e-mail and Company including its sister concerns shall not be liable for 
any damage that may incur to you as a result of viruses, incompleteness of 
this message, a delay in receipt of this message or any other computer 
problems. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211117/8e01eeb0/attachment.html>


More information about the Users mailing list