No all clients from PBX are trusted to make call out though.



From: 568691@gmail.com
Date: Mon, 31 Aug 2015 23:04:10 +0300
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] authorize a client in bulk registration

If it is OK to trust all clients from PBX - just add a check in route[AUTH] if traffic comes from PBX and execute return; if TRUE
Else, you may create a list of allowed users in db/config and perform checks based on $au

2015-08-31 20:49 GMT+03:00 Al S <alirsm@outlook.com>:
My PBX registered in bulk to Kamailio successfully.

PBX --> Register --> kamailio
PBX <-- 401 with nonce value <-- kamailio
PBX --> Register with nonce and md5 response values --> kamailio
BOX <-- 200ok <-- kamailio

However, when one of the PBX client sends an invite out, kamailio AUTH module does not authorize this client:

client (813-111-1111) --> Invite --> kamailio

What would be the right way to authorize a 10-digit client to send a call out when a bulk registration and not 10-digit registration is performed. 

Your assistance in this matter is greatly appreciated

Thanks,
Al

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--
Alexandru Covalschi
ABRISS-Solutions
VoIP engineer and system administrator
phone: +37367398493
web: http://abs-telecom.com/

_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users