Syntax - AudioCodes Mediant 2000 User Manual

Voip media gateway sip protocol
Hide thumbs Also See for Mediant 2000:
Table of Contents

Advertisement

SIP User's Manual
C.9

Syntax

Rules table:
Man Set ID
Message
Type
ID
<message-
type>
1.
message-type:
Description: rule is applied only if this is the message's type
Syntax: method "." message-role
Examples:
invite.request
invite.response.200
subscribe.response.2xx
a.
method:
Description: rule is applied only if this is the message's method
Syntax: ( token / "any" )
Examples:
b.
message-role
Description: rule is applied only if this is the message's role
Syntax: ( "request" / "response" "." response-code / "any" )
Examples:
c.
response-code
Description: response code of the message
Syntax: ( "1xx" / "2xx" / "3xx" / "4xx" / "5xx" / "6xx" / 3DIGIT / "any" )
Examples:
2.
match-condition:
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"
Version 6.4
Condition
Action Element
<match-
<message-
condition>
element>
Invite, subscribe – rule applies only to INVITE messages
Unknown – unknown methods are also allowed
Any – no limitation on the method type
Request – rule applies only on requests
Response.200 – rule applies only on 200 OK messages
Any – no limitations on the type of the message
3xx – any redirection response
200 – only 200 OK response
Any – any response
C. SIP Message Manipulation Syntax
Action Type
<action-type>
649
Action
Row
Value
Rule
<value>
ID
November 2011

Advertisement

Table of Contents
loading

Table of Contents