EasyManua.ls Logo

ELTEX SBC-1000 - Page 59

ELTEX SBC-1000
211 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SBC session border controllers 59
Modification rules
Modification rules are described by symbols:
$ leave the following text;
! remove the following text;
+(ABC) add the specified text;
-(ABC) remove the specified text.
Examples of operation rules implementation are shown in the Table below.
Table 19 Examples of operation rules implementation
Operation
Original header
Expressions
Result
Do not send
header
Accept: application/SDP
[sipheader:accept=disable]
Pass the header
from the first
leg unchanged
Additional headers on the
first leg:
P-Asserted-Identity:
username@domain
Subject: Test call
[sipheader:[MESSAGE_LIST]:
[HEADER_MASK]=transit]
[sipheader:[HEADER_MASK]=transit]
In INVITE and 200 messages:
[sipheader:INVITE,200:Subject=transit]
In any messages:
[sipheader:Subject=transit]
The specified header appears
on the second leg:
Subject: Test call
Pass the header
group from the
first leg
unchanged
Additional headers on the
first leg:
P-Asserted-Identity:
sip:username@domain
P-Called-Party-ID:
sip:username@domain
Privacy: id
Subject: Test call
[sipheader:P-*=transit]
Note that the following rule:
[sipheader:*=transit]
will not work as the * character can only
replace part of the name.
The specified headers appear
on the second leg:
P-Asserted-Identity:
sip:username@domain
P-Called-Party-ID:
sip:username@domain
Insert header
[sipheader:insert[HEADER_LIST]:
RemoteIp=+(TEXT)]
In all requests:
[sipheader:insert:RemoteIp=+(example.S
BC)]
In INVITE request only:
[sipheader:insert,INVITE:RemoteIp=+( ex
ample.SBC)]
Only in specified requests (e.g., INVITE
and ACK):
[sipheader:insert,INVITE,ACK:RemoteIp=
+( example.SBC)]
RemoteIp:example.SBC
Add text at the
beginning
Accept: application/SDP
[sipheader:accept=+(application/ISUP,)$
]
Accept:
application/ISUP,application/S
DP
Add text in the
end
Accept: application/SDP
[sipheader:accept=$+(,application/ISUP)
]
Accept:
application/SDP,application/IS
UP

Table of Contents