Lookup from the Users Database
$usrdir.lookup $usrdir.lookup( user_name )
user_name – User Name
Checks the user name specified as an argument is recorded in Users Database.
If the user is recorded, “true” will be returned. If not, “false” is returned.
If no argument is specified, Brekeke SIP Server checks if the authentication username in the SIP packet is recorded or not.
$usrdir.lookup( "mike" ) = true
If the user “mike” is recorded in the Users Database.