Brekeke SIP Server Wiki

$addrPort

Get the source IP address and port of the incoming SIP request packet

Syntax:
$addrPort

 

Returns:

The source IP address and port of the incoming SIP packet.

 

Version Since:

2.4

 

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

 

Example:
$addrport = ^192.168.1.100:5060$

If the source IP address and port of the packet is 192.168.1.100:5060

 

See Also:

$addr
$addrPrefix
$addrRange
$port

Yes No
Suggest Edit