Capture module: Difference between revisions

add SIP call number capture filter items
No edit summary
(add SIP call number capture filter items)
Line 97: Line 97:
* '''or''', '''||''': OR operator. The filter expression will match if any operand can be evaluated to true.
* '''or''', '''||''': OR operator. The filter expression will match if any operand can be evaluated to true.


Following comparison operators are supported:
'''Following comparison operators are supported:'''
* '''==''': Will evaluate expression to true if left and right operand are equal.
* '''==''': Will evaluate expression to true if left and right operand are equal.
* '''!=''': Will evaluate expression to true if left and right operand are not equal.
* '''!=''': Will evaluate expression to true if left and right operand are not equal.


Following operands are supported:
'''Following operands are supported:'''
* '''ip''': An IP address. The packet is captured if either source or destination IP address of the packet match. A netmask and a port can also be specified. For IPv6 addresses with a specific port, the address must be written in brackets.  
* '''ip''': An IP address. The packet is captured if either source or destination IP address of the packet match. A netmask and a port can also be specified. For IPv6 addresses with a specific port, the address must be written in brackets.  
:Example:
:Example:
Line 227: Line 227:
* '''wifiFrequency''': The frequency (channel) of a WiFi packet in MHz.
* '''wifiFrequency''': The frequency (channel) of a WiFi packet in MHz.
* '''wifiBssid''': The BSS ID participating in a WiFi packet. This is similar to a MAC address.
* '''wifiBssid''': The BSS ID participating in a WiFi packet. This is similar to a MAC address.
* '''callNumber''': SIP caller (SIP from tag) or callee (SIP to tag) number (firmware >= 4.5)
* '''callerNumber''': SIP caller (SIP from tag) number (firmware >= 4.5)
* '''calleeNumber''': SIP callee (SIP to tag) number (firmware >= 4.5)


For a specific precedence you may use parentheses '''('''/''')'''.
For a specific precedence you may use parentheses '''('''/''')'''.