CHAPTER28 Configuring Supplementary Services
Mediant 1000 Gateway & E-SBC | User's Manual
INFO sip:103@10.10.12.188:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.12.159:5061;branch=z9hG4bK-1-18439@10.10.12.159;rport
From: "2110017: Bob" <sip:4988@10.10.12.188>;tag=1
To: <sip:103@10.10.12.188;user=phone>;tag=pmvsivy1ju
Call-ID: 1-18439@10.10.12.159
CSeq: 3 INFO
Max-Forwards: 70
Contact: <sip:4988@10.10.12.159:5061;line=qhpks806>;reg-id=1
Content-Type: application/vnd.etsi.aoc+xml
Content-Length: 405
<?xml version="1.0" encoding="UTF-8"?>
<aoc xmlns="http://uri.etsi.org/ngn/params/xml/simservs/aoc">
<aoc-d>
<charging-info>subtotal</charging-info>
<recorded-charges>
<recorded-currency-units>
<currency-id>EUR</currency-id>
<currency-amount>0.1</currency-amount>
</recorded-currency-units>
</recorded-charges>
<billing-id>normal-charging</billing-id>
</aoc-d>
</aoc>
In such a case, you should use message manipulation rules on the SIP INFO message to
convert the advice of charge data in the XML to the AOC SIP header with the relevant
format (parameters) as discussed above:
Parameter Value
'Index' 1 2
'Name' Add AOC header Remove XML body
'Manipulation
Set ID'
0 0
'Row Rule' Use Current Condition Use Previous Condition
'Message
Type'
Any
'Condition' body.application/vnd.etsi.aoc+xml
REGEX (<currency-amount>)(\d+)
(<\/currency-amount>)
body.application/vnd.etsi.aoc+xml
exists
'Action Subject' Header.AOC body.application/vnd.etsi.aoc+xml
'Action Type' Add Remove
'Action Value' 'charged;charging-
info=pulse;recorded-units='+$2
● TELES proprietary method
● Cirpack proprietary methods
- 685 -