Brekeke SIP Server Wiki

$regdb.transport

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

 

Syntax:
$regdb.transport
$regdb.transport( SIP-URI )
$regdb.transport( username )
Returns:

the transport type of the registered user.
If a corresponding registration record isn’t found, null will be returned.

 

Version Since:

3.1

 

Where the function can be used:
  • Preliminary rules
  • Regular rules
Example:
$regdb.transport(To) = (.+)

Get the To URI’s registered transport type.

$regdb.transport = ^TCP$

If the transport type is TCP.

 

See Also:

$regdb.attribute

Yes No
Suggest Edit