Structure Definitions; Event Structure - AudioCodes Mediant 3000 User Manual

Voip media gateway
Hide thumbs Also See for Mediant 3000:
Table of Contents

Advertisement

Keyword
N/A
Below are header manipulation examples:
Example 1
Rule:
Result:
Example 2
Rule:
Result:
Example 3
Rule:
Result:
Example 4
Rule:
Result:
C.3

Structure Definitions

C.3.1

Event Structure

The Event structure is used in the Event header (see 'Event' on page 781).
Keyword
EventPackage
EventPackageString*
Id
Event package string is used for packages that are not listed in the Enum Event Package
table (see 'Event Package' on page 805).
SIP User's Manual
N/A
Add a custom header to all messages:
MessageManipulations 0 = 1, , , header.myExp, 0,
"'scooby, doo, goo, foo'", 0;
MYEXP: scooby, doo, goo, foo
Take the value from the Expires parameter in the Contact header, append 00
to the value and create a new myExp header:
MessageManipulations 0 = 1, any, , header.media, 0,
"header.Session-Expires.time + 'ooo' + ';refresher=' +
header.Session-Expires.Refresher", 0;
MEDIA: 3600ooo;refresher=1
Create lists of Unknown headers:
MessageManipulations 1 = 1, Invite, , header.myExp.1,
0, "'scooby, doo, goo, foo1'", 0;
MessageManipulations 2 = 1, Invite, , header.myExp.2,
0, "'scooby, doo, goo, foo2'", 0;
MYEXP: scooby, doo, goo, foo1
MYEXP: scooby, doo, goo, foo2
Remove the SIP header 'colour' from INVITE messages:
MessageManipulations 1 = 1, Invite, , header.colour, 1,
"''", 0;
The colour header is removed.
Table 32-2: Event Structure
Enum Event Package (see
'Event Package' on page
805)
String
String
Sub Types
N/A
Sub Types
Read/Write
Read/Write
Read/Write
800
Mediant 3000
Attributes
Attributes
Document #: LTRT-89712

Advertisement

Table of Contents
loading

Table of Contents