Version 6.6
457
MP-11x & MP-124
User's Manual
42. SIP Message Manipulation Syntax
♦
200
only 200 OK response
♦
Any
any response
42.12.2 Condition
The Condition (match-condition) syntax is described below:
Description:
Matching criteria for the rule
Syntax:
(message-element / param) SWS match-type
[SWS value
] *
[ SWS
logical-
expression SWS match-condition ]
Examples:
•
header.from.user == '100'
•
header.contact.header-param.expires > '3600'
•
header.to.host contains 'itsp'
•
param.call.dst.user != '100'
•
header.john exists
•
header.john exists AND header.to.host !contains 'john'
•
header.from.user == '100' OR header.from.user == '102' OR header.from.user ==
'300'
<match-type>:
•
Description: Comparison to be made
•
Syntax:
♦
==
equals
♦
!=
not equals
♦
>
greater than
♦
<
less than
♦
>=
greater than or equal to
♦
<=
less than or equal to
♦
contains
does a string contain a value (relevant only to string fields)
♦
exists
does a certain header exists
♦
!exists
does a certain header not exists
♦
!contains
does a string exclude a value. Relevant only to string fields
♦
len>
is the string length greater than
♦
len<
is the string length less than
♦
len==
is the string length equal to
♦
regex
regex expression
logical-expression:
•
Description: Condition for the logical expression
•
Syntax:
♦
AND logical And
♦
OR
logical Or
Note:
"A AND B OR C" is calculated as A AND (B OR C).
Summary of Contents for MediaPack MP-112
Page 2: ......
Page 14: ...User s Manual 14 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 21: ...Part I Getting Started with Initial Connectivity ...
Page 22: ......
Page 30: ...User s Manual 30 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 31: ...Part II Management Tools ...
Page 32: ......
Page 34: ...User s Manual 34 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 78: ...User s Manual 78 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 84: ...User s Manual 84 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 86: ...User s Manual 86 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 91: ...Part III General System Settings ...
Page 92: ......
Page 102: ...User s Manual 102 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 103: ...Part IV General VoIP Configuration ...
Page 104: ......
Page 162: ...User s Manual 162 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 172: ...User s Manual 172 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 199: ...Part V Gateway Application ...
Page 200: ......
Page 202: ...User s Manual 202 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 240: ...User s Manual 240 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 286: ...User s Manual 286 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 287: ...Part VI Stand Alone Survivability Application ...
Page 288: ......
Page 296: ...User s Manual 296 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 319: ...Part VII Maintenance ...
Page 320: ......
Page 326: ...User s Manual 326 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 347: ...Part VIII Status Performance Monitoring and Reporting ...
Page 348: ......
Page 377: ...Part IX Diagnostics ...
Page 378: ......
Page 390: ...User s Manual 390 Document LTRT 65417 MP 11x MP 124 ...
Page 392: ...User s Manual 392 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...
Page 403: ...Part X Appendix ...
Page 404: ......
Page 618: ...User s Manual 618 Document LTRT 65417 MP 11x MP 124 Reader s Notes ...