Brekeke SIP Server Wiki


Check whether the address is in the range


$addrRange( IP1, IP2 )
$addrRange( IP1, IP2, IPcheck  )



IP1 – the beginning of the address range.
IP2 – the ending of the address range.
IPcheck – the IP address which should be checked. If the IPcheck is omitted, the source IP address of SIP packet is used.



true – if the address IPcheck is in the range
false – otherwise


Version Since:



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


$addrRange("","") = true

Check if the SIP packet’s sender IP address is in the range –
It is same as the following definition.

$addrRange("","",$addr) = true


See Also:


Yes No
Suggest Edit