Skip to content

Instantly share code, notes, and snippets.

@kennyhlee
Created January 15, 2014 07:45
Show Gist options
  • Save kennyhlee/8432336 to your computer and use it in GitHub Desktop.
Save kennyhlee/8432336 to your computer and use it in GitHub Desktop.
{
"call": {
"ID": "-1407247257-00000000000000000043",
"SipSessionID": "ss_dmfkr02c52hs",
"SessionID": "8c13b40459d4456679d8ed05428c4af9",
"CallID": "2b54f7946cd70c89eb9ce77a47737de0",
"ParentSessionID": "none",
"ParentCallID": "none",
"DateCreated": "Wed, 15 Jan 2014 12:01:01 +0800",
"DateUpdated": "Wed, 15 Jan 2014 12:01:01 +0800",
"AccountID": "62",
"Called": "9175888158",
"Caller": "21581029",
"PhoneNumberSid": "unknown",
"Disposition": "Success",
"Status": "Success",
"StartTime": "Wed, 15 Jan 2014 12:01:01 +0800",
"EndTime": "Wed, 15 Jan 2014 12:01:58 +0800",
"Duration": "56748",
"Flags": "out",
"RecordingDuration": "0",
"Asr": [
{
"StartTime": "Wed, 15 Jan 2014 12:01:01 +0800",
"EndTime": "Wed, 15 Jan 2014 12:01:10 +0800",
"Duration": 9030,
"ResourceName": "default"
},
{
"StartTime": "Wed, 15 Jan 2014 12:01:16 +0800",
"EndTime": "Wed, 15 Jan 2014 12:01:22 +0800",
"Duration": 6413,
"ResourceName": "default"
},
{
"StartTime": "Wed, 15 Jan 2014 12:01:35 +0800",
"EndTime": "Wed, 15 Jan 2014 12:01:42 +0800",
"Duration": 7609,
"ResourceName": "default"
}
],
"Tts": [
{
"StartTime": "Wed, 15 Jan 2014 12:01:27 +0800",
"EndTime": "Wed, 15 Jan 2014 12:01:30 +0800",
"Duration": 3196,
"ResourceName": "default"
}
],
"Network": "PSTN",
"Channel": "VOICE",
"ApplicationId": "91",
"ApplicationType": "tropo-web",
"ServiceId": "338",
"StartUrl": "http://gltest.turfsiteph.net/thevoice/GlobeApps/Globecase1/case1.php?uri=start",
"BrowserIP": "172.31.28.103",
"PPID": "23",
"OnlineBilling": [
{
"BillingSession": {
"id": "52d6084966aa186c480002c4",
"username": "HRDglobelabs.globelabs",
"duration": "56",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758454691",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758454691",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758491456",
"timeslot": "2",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758521485",
"timeslot": "1",
"timeClaimed": "60",
"credits": "5.0",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758522061",
"timeslot": "2",
"timeClaimed": "56",
"credits": "5.0",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758522607",
"state": "failed",
"errorCode": "err002",
"errorMessage": "timed out while executing operation."
}
}
]
}
},
{
"BillingSession": {
"id": "52d6085066aa186c480002c8",
"featureId": "tts-any-default-590602f3-d435-4f62-99cc-9beed175d1de",
"username": "HRDglobelabs.globelabs",
"duration": "56",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758461455",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758461455",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758474283",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758518199",
"timeslot": "1",
"timeClaimed": "56",
"credits": "0.0",
"state": "failed",
"errorCode": "err001",
"errorMessage": "server failed unexpectedly."
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758518451",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52d6085066aa186c480002ca",
"featureId": "asr-any-default-3efa0db0-90fa-403c-8d1a-b394eeea1ef5",
"username": "HRDglobelabs.globelabs",
"duration": "56",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758461754",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758461754",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758470977",
"timeslot": "1",
"timeClaimed": "9",
"credits": "0.0",
"state": "failed",
"errorCode": "err001",
"errorMessage": "server failed unexpectedly."
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758471277",
"state": "failed",
"errorCode": "err002",
"errorMessage": "timed out while executing operation."
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758519027",
"state": "failed",
"errorCode": "err002",
"errorMessage": "timed out while executing operation."
}
}
]
}
},
{
"BillingSession": {
"id": "52d6085e66aa186c480002ce",
"featureId": "tts-any-default-d5651748-228b-49b8-ad2e-1a20fc0ad78b",
"username": "HRDglobelabs.globelabs",
"duration": "0",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758475281",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758475281",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758486049",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52d6085e66aa186c480002d0",
"featureId": "asr-any-default-22815a33-99c9-4755-a94a-4eb1e26a579a",
"username": "HRDglobelabs.globelabs",
"duration": "7",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758475551",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758475551",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758482652",
"timeslot": "1",
"timeClaimed": "7",
"credits": "0.0",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758483046",
"state": "failed",
"errorCode": "err002",
"errorMessage": "timed out while executing operation."
}
}
]
}
},
{
"BillingSession": {
"id": "52d6086a66aa186c480002d5",
"featureId": "tts-null-default-d5448f5e-944d-4102-8631-10ed4ee54264",
"username": "HRDglobelabs.globelabs",
"duration": "3",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758487127",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758487127",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758490484",
"timeslot": "1",
"timeClaimed": "3",
"credits": "0.0",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758490823",
"state": "failed",
"errorCode": "err002",
"errorMessage": "timed out while executing operation."
}
}
]
}
},
{
"BillingSession": {
"id": "52d6087166aa186c480002da",
"featureId": "tts-any-default-9092e233-e0ff-4194-9ac1-db28d15560da",
"username": "HRDglobelabs.globelabs",
"duration": "0",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758494470",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758494470",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758506218",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52d6087266aa186c480002dc",
"featureId": "asr-any-default-2dc12c11-a75d-4e79-81e5-e06f6bbe5a79",
"username": "HRDglobelabs.globelabs",
"duration": "8",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758494691",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758494691",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758502781",
"timeslot": "1",
"timeClaimed": "8",
"credits": "0.0",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1389758503183",
"state": "failed",
"errorCode": "err002",
"errorMessage": "timed out while executing operation."
}
}
]
}
},
{
"BillingSession": {
"id": "52d6087e66aa186c480002df",
"featureId": "tts-any-default-27ac42a1-6ae4-4f70-9665-f274010c3063",
"username": "HRDglobelabs.globelabs",
"duration": "0",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758507170",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758507170",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758514500",
"timeslot": "2",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758521501",
"timeslot": "1",
"timeClaimed": "60",
"credits": "5.0",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52d6087e66aa186c480002e1",
"featureId": "asr-any-default-39afedb9-1512-4be1-b8e5-cdefc8b8743c",
"username": "HRDglobelabs.globelabs",
"duration": "0",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1389758507498",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758507498",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1389758514832",
"timeslot": "2",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1389758521832",
"timeslot": "1",
"timeClaimed": "60",
"credits": "5.0",
"state": "success"
}
}
]
}
}
],
"Role-of-Node": "9",
"List-of-Calling-Party-Address": "sip:21581029@sip.tropo.net",
"Called-Party-Address": "tel:9175888158",
"IMS-Charging-Identifier": "icid-value=\"p0wi7249pvgc.globelabs.com.ph\";orig-ioi=globelabs.com.ph"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment