Brekeke SIP Server Wiki

$mydomain

Check whether the domain is hosted under the Multiple Domains mode.

 

Syntax:
$mydomain( domain )
$mydomain( SIP-URI )
Returns:

true – if it is hosted by this server
false – otherwise

 

Version Since:

2.0

 

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

 

Example:
$mydomain( “sip.domain.com” ) = true

If the “sip.domain.com” is hosted by this server.

Yes No
Suggest Edit