CHAPTER 28 Configuring Supplementary Services
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
'Index'
'Name'
'Manipulation
Set ID'
'Row Rule'
'Message
Type'
'Condition'
'Action Subject'
'Action Type'
'Action Value'
●
TELES proprietary method
●
Cirpack proprietary methods
1
Add AOC header
0
Use Current Condition
Any
body.application/vnd.etsi.aoc+xml
REGEX (<currency-amount>)(\d+)
(<\/currency-amount>)
Header.AOC
Add
'charged;charging-
info=pulse;recorded-units='+$2
- 706 -
Mediant 800 Gateway & E-SBC | User's Manual
Value
2
Remove XML body
0
Use Previous Condition
body.application/vnd.etsi.aoc+xml
exists
body.application/vnd.etsi.aoc+xml
Remove