Brekeke SIP Server Wiki


Lookup from the Users Database


$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.



Where the function can be used:
  • Preliminary rules
  • Regular rules


$usrdir.lookup( "mike" ) = true

If the user “mike” is recorded in the Users Database.


Yes No
Suggest Edit