Brekeke SIP Server Wiki

$regUri

Get the Contact SIP URI of the registered user.
If no argument is specified, use the Request URI as the argument.

 

Syntax:
$regUri
$regUri( SIP-URI )
$regUri( username )
Returns:

the Contact SIP-URI of the registered user.
If a corresponding registration record isn’t found, null will be returned.

 

Version Since:

1.0

 

Where the function can be used:
  • Preliminary rules
  • Regular rules
Example:
$regUri = sip:alice@192.168.1.10

If the Contact URI of the registration record which the request URI indicates is “sip:alice@192.168.1.10”.

 

$regUri(“bob” ) = (.+)

Get the user Bob’s registered Contact URI.

 

See Also:

$regAddr 
$regUa 

Yes No
Suggest Edit