Skip to content

Instantly share code, notes, and snippets.

@kennyhlee
Created December 19, 2013 10:58
Show Gist options
  • Save kennyhlee/8037563 to your computer and use it in GitHub Desktop.
Save kennyhlee/8037563 to your computer and use it in GitHub Desktop.
{
"call": {
"ID": "-1407247257-00000000000000000002",
"SipSessionID": "ss_14x2fjx4ng8ve",
"SessionID": "e757afaf30ce248e7b869746d463ab67",
"CallID": "85d4957a1d2fc23134e44b2ca8debaa0",
"ParentSessionID": "none",
"ParentCallID": "none",
"DateCreated": "Thu, 19 Dec 2013 09:49:45 +0000",
"DateUpdated": "Thu, 19 Dec 2013 09:49:45 +0000",
"AccountID": "54",
"Called": "9175888158",
"Caller": "21591045",
"PhoneNumberSid": "unknown",
"Disposition": "Success",
"Status": "Success",
"StartTime": "Thu, 19 Dec 2013 09:49:45 +0000",
"EndTime": "Thu, 19 Dec 2013 09:50:31 +0000",
"Duration": "46477",
"Flags": "out",
"RecordingDuration": "0",
"Asr": [
{
"StartTime": "Thu, 19 Dec 2013 09:49:45 +0000",
"EndTime": "Thu, 19 Dec 2013 09:49:58 +0000",
"Duration": 12695,
"ResourceName": "default"
},
{
"StartTime": "Thu, 19 Dec 2013 09:49:59 +0000",
"EndTime": "Thu, 19 Dec 2013 09:50:06 +0000",
"Duration": 7080,
"ResourceName": "default"
}
],
"Tts": [
{
"StartTime": "Thu, 19 Dec 2013 09:50:07 +0000",
"EndTime": "Thu, 19 Dec 2013 09:50:10 +0000",
"Duration": 3096,
"ResourceName": "default"
}
],
"Network": "PSTN",
"Channel": "VOICE",
"ApplicationId": "70",
"ApplicationType": "tropo-web",
"ServiceId": "262",
"StartUrl": "http://gltest.turfsiteph.net/thevoice/GlobeApps/Globecase1/case1.php?uri=start",
"BrowserIP": "172.31.28.103",
"PPID": "23",
"OnlineBilling": [
{
"BillingSession": {
"id": "52b2c15cd33bd3b6370000f4",
"username": "tropo01",
"duration": "46",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1387446578677",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446578677",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446615232",
"timeslot": "2",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1387446631949",
"timeslot": "1",
"timeClaimed": "46",
"credits": "0.0",
"state": "failed",
"errorCode": "err001",
"errorMessage": "server failed unexpectedly."
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1387446632134",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52b2c162d33bd3b6370000f6",
"featureId": "tts-any-default-14fc5a75-f462-40f8-846b-7c88519525be",
"username": "tropo01",
"duration": "46",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1387446585235",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446585235",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1387446598655",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1387446631701",
"timeslot": "1",
"timeClaimed": "46",
"credits": "0.0",
"state": "failed",
"errorCode": "err001",
"errorMessage": "server failed unexpectedly."
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1387446631941",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52b2c163d33bd3b6370000f8",
"featureId": "asr-any-default-37acc920-c041-493f-aee5-8b1704c3bb5f",
"username": "tropo01",
"duration": "13",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1387446585660",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446585660",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1387446598471",
"timeslot": "1",
"timeClaimed": "13",
"credits": "0.0",
"state": "failed",
"errorCode": "err001",
"errorMessage": "server failed unexpectedly."
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1387446598641",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52b2c170d33bd3b6370000fa",
"featureId": "tts-any-default-2f8b8b54-7032-44e2-ad75-e9049b741885",
"username": "tropo01",
"duration": "0",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1387446599293",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446599293",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1387446606814",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52b2c170d33bd3b6370000fc",
"featureId": "asr-any-default-5cc98f67-19ba-4d22-9823-daff3cc382ad",
"username": "tropo01",
"duration": "7",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1387446599376",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446599376",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1387446606521",
"timeslot": "1",
"timeClaimed": "7",
"credits": "0.0",
"state": "failed",
"errorCode": "err001",
"errorMessage": "server failed unexpectedly."
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1387446606801",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52b2c178d33bd3b6370000fe",
"featureId": "tts-null-default-87147093-6375-4948-a58e-1bcb18a0296d",
"username": "tropo01",
"duration": "3",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1387446607438",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446607438",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "claim",
"time": "1387446610666",
"timeslot": "1",
"timeClaimed": "3",
"credits": "0.0",
"state": "failed",
"errorCode": "err001",
"errorMessage": "server failed unexpectedly."
}
},
{
"billingRecord": {
"action": "endTimeBasedSession",
"time": "1387446610860",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52b2c17cd33bd3b637000100",
"featureId": "tts-any-default-56b45993-23b3-4370-a5b3-efe957e1b3f4",
"username": "tropo01",
"duration": "0",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1387446611563",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446611563",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446628649",
"timeslot": "2",
"duration": "60",
"state": "success"
}
}
]
}
},
{
"BillingSession": {
"id": "52b2c17cd33bd3b637000102",
"featureId": "asr-any-default-8b6bcfea-7feb-422c-afd2-3fc914fe905f",
"username": "tropo01",
"duration": "0",
"records": [
{
"billingRecord": {
"action": "beginTimeBasedSession",
"time": "1387446611613",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446611613",
"timeslot": "1",
"duration": "60",
"state": "success"
}
},
{
"billingRecord": {
"action": "reserve",
"time": "1387446628713",
"timeslot": "2",
"duration": "60",
"state": "success"
}
}
]
}
}
],
"Role-of-Node": "9",
"List-of-Calling-Party-Address": "sip:21591045@sip.tropo.net",
"Called-Party-Address": "tel:9175888158",
"IMS-Charging-Identifier": "icid-value=\\"jv1wkai5ku8j.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