Daniel-Constantin Mierla writes:

> quick look into the code and the README seems outdated. But there is no 
> -7 return code in auth and auth_db -- return codes are taken from 
> modules/auth/api.h, structure auth_cfg_result_t. Maybe -7 is specific 
> for radius auth function.

daniel,

that is ok, but

       * -6 (nonce reused) - nonce is used more than once;
       * -5 (no credentials) - credentials were not found in request;
       * -4 (stale nonce) - stale nonce;

are useful and if they supported by auth_db modules, they should also be
documented in its README (with whatever error codes are used there).

-- juha

_______________________________________________
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

Reply via email to