Hi All,

 

i'm facing a case where stir_shaken_auth module return -3 because called number 
would not be in E164 format.

 

SIP INVITE looks like :

 

INVITE sip:[email protected];user=phone SIP/2.0

Via: SIP/2.0/UDP 10.101.180.177:5060;branch=z9hG4bK5e169d58

Max-Forwards: 70

From: "+33187644101" sip:[email protected];tag=as7d1c5a30

To: sip:[email protected];user=phone

Contact: sip:[email protected]:5060

 

Opensips logs :

Jul 24 11:49:34 lbsip-rtpe-test opensips[11670]: 
NOTICE:stir_shaken:check_passport_phonenum: number is not in E.164 format: 
331016024033XXYY

Jul 24 11:49:34 lbsip-rtpe-test opensips[11670]: 
NOTICE:stir_shaken:w_stir_auth: failed to validate Destination number 
(331016024033XXYY)

Jul 24 11:49:34 lbsip-rtpe-test opensips[11670]: DBG:core:comp_scriptvar: int 
26: -3 / 0

Jul 24 11:49:34 lbsip-rtpe-test opensips[11670]: DBG:core:comp_scriptvar: int 
20: -3 / -1

Jul 24 11:49:34 lbsip-rtpe-test opensips[11670]: 
[email protected]:5060|STIR_SHAKEN|FAILED 
stir_shaken_auth() failed (rc=-3) call Reject

 

the requested number contains the portability prefix and breaks down as follows:

Country Code : +33

Portability prefix : 10160

Called number : 24033XXYY

 

It tried with e164_strict_mode =0 and e164_strict_mode =1, with no effect.

 

any help would be welcome.

 

Thanks

 

Alain

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to