DanB
unread,Jun 15, 2017, 9:19:50 AM6/15/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cgr...@googlegroups.com
Hi Juan,
You can try with this template (although please review the paths,
especially for grouped AVPs):
"""
"diameter_agent": {
"request_processors": [
{
"id": "TestJuan",
"dry_run": false,
"request_filter": "",
"ccr_fields":[
{"tag": "TOR", "field_id": "ToR",
"type": "*composed", "value": "^*voice", "mandatory": true},
{"tag": "OriginID", "field_id":
"OriginID", "type": "*composed", "value": "Session-Id", "mandatory":
true},
{"tag": "OriginHost", "field_id":
"OriginHost", "type": "*composed", "value": "Origin-Host", "mandatory":
true},
{"tag": "RequestType", "field_id":
"RequestType", "type": "*composed", "value": "^*rated", "mandatory":
true},
{"tag": "Account", "field_id":
"Account", "type": "*composed", "value": "Service-Information>IMS-
Information>Calling-Party-Address", "mandatory": true},
{"tag": "Destination", "field_id":
"Destination", "type": "*composed", "value": "Service-Information>IMS-
Information>Called-Party-Address", "mandatory": true},
{"tag": "SetupTime", "field_id":
"SetupTime", "type": "*composed", "value": "Event-Timestamp",
"mandatory": true},
{"tag": "AnswerTime", "field_id":
"AnswerTime", "type": "*composed", "value": "Event-Timestamp",
"mandatory": true},
{"tag": "Usage", "field_id": "Usage",
"type": "*composed", "value": "Service-Information>IMS-
Information>Time-Stamps>SIP-Request-Timestamp-Fraction", "mandatory":
true},
{"tag": "SourceRealm", "field_id":
"SourceRealm", "type": "*composed", "value": "Origin-Realm"},
{"tag": "SourceRealm", "field_id":
"DestinationRealm", "type": "*composed", "value": "Destination-Realm"},
{"tag": "RoleOfNode", "field_id":
"RoleOfNode", "type": "*composed", "value": "Service-Information>IMS-
Information>Role-Of-Node"},
{"tag": "NodeFunctionality",
"field_id": "NodeFunctionality", "type": "*composed", "value":
"Service-Information>IMS-Information>Node-Functionality"},
{"tag": "SipSessionID", "field_id":
"SipSessionID", "type": "*composed", "value": "Service-Information>IMS-
Information>User-Session-Id"},
],
"cca_fields":[
],
},
],
}
"""
I suggest playing with dry_run: true until you are happy with the event
being sent out to CGR-SMG.
DanB