Domains ...................................................................29
Deriving settings ...................................................................... 29
Creating a domain ................................................................... 30
Deleting a domain..................................................................... 31
Edit a domain........................................................................... 31
Going to a domain context ......................................................... 31
Backup ................................................................................... 32
Scripting...................................................................33
Background ............................................................................. 33
Script Structure........................................................................ 34
Quotes................................................................................................................................................................................................................ 34
Case....................................................................................................................................................................................................................... 35
Statements.............................................................................. 35
if.................................................................................................................................................................................................................................. 35
foreach............................................................................................................................................................................................................... 36
return................................................................................................................................................................................................................... 37
Variables ................................................................................. 37
Scope................................................................................................................................................................................................................... 37
Types.................................................................................................................................................................................................................... 37
Operators....................................................................................................................................................................................................... 38
Functions................................................................................. 39
Denition........................................................................................................................................................................................................ 39
Calling................................................................................................................................................................................................................. 40
String Functions ................................................................................................................................................................................... 40
Parsing Functions ............................................................................................................................................................................... 42
SIP functions............................................................................................................................................................................................. 44
Registration Related Functions....................................................................................................................................... 45
Proxy Related Functions........................................................................................................................................................... 46
Other Functions..................................................................................................................................................................................... 48
Callbacks................................................................................. 49
on_request................................................................................................................................................................................................... 49
on_response .............................................................................................................................................................................................. 51
on_register .................................................................................................................................................................................................. 52
challenge ........................................................................................................................................................................................................ 52
get_user .......................................................................................................................................................................................................... 54
on_new_user............................................................................................................................................................................................ 54
user_directory......................................................................................................................................................................................... 55
require_billing ......................................................................................................................................................................................... 56
on_denial........................................................................................................................................................................................................ 57