Brekeke SIP Server Wiki

$alias.lookup

Get the entity of the Alias record.
Note: $alias.lookup method is available in the Advanced and upper Editions only.

 

Syntax:
$alias.lookup( alias_name )
$alias.lookup( alias_name, group_id )
$alias.lookup( alias_name, group_id, default_value )
Parameters:

alias_name – the alias name
group_id – the group ID
default_value – the value returned when the entry does not exist  (since 3.12.1.0 or later)

Returns:

the entity of the Alias record.

Version Since:

2

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

 

Example:
$alias.lookup( "bob" ) = (.+)
Get the Entity of the Alias "bob"

 

See Also:

$alias.reverse
How to use Alias function

Yes No
Suggest Edit