Skip to content

Instantly share code, notes, and snippets.

@mheadd
Created June 14, 2010 14:48
Show Gist options
  • Save mheadd/437778 to your computer and use it in GitHub Desktop.
Save mheadd/437778 to your computer and use it in GitHub Desktop.
{
"session": {
"accountId": "9178",
"callId": "33e6f280ec9e740ad57ec3464175e502",
"from": {
"channel": "VOICE",
"id": "mheadd",
"name": "unknown",
"network": "PSTN"
},
"headers": {
"CSeq": "2 INVITE",
"Call-ID": "0-13c4-4c162a69-77e521a6-72fc-1d004d38",
"Contact": "<sip:[email protected]:5060>",
"Content-Length": "249",
"Content-Type": "application\/sdp",
"From": "<sip:[email protected]:5060>;tag=0-13c4-4c162a69-77e521a6-5ba",
"To": "<sip:[email protected]:5060>",
"Via": "SIP\/2.0\/UDP 67.28.127.103:5060;received=10.90.63.103",
"x-sbc-allow": "BYE",
"x-sbc-call-id": "MTJjZTIzNzBkMDI1MzJhMmJlNjQ1YWQ0NmNmODZkMmM.",
"x-sbc-contact": "<sip:[email protected]:16000>",
"x-sbc-cseq": "1 INVITE",
"x-sbc-from": "\"mheadd\"<sip:[email protected]>;tag=93658f52",
"x-sbc-max-forwards": "70",
"x-sbc-record-route": "<sip:80.252.85.73:5061;r2=on;lr;ftag=93658f52>",
"x-sbc-request-uri": "sip:[email protected]:5060",
"x-sbc-to": "<sip:[email protected]:5060>",
"x-sbc-user-agent": "sipgw-1.0",
"x-sid": "cc6499d5ec479c60633f7ad2b6a4df15",
"x-voxeo-sbc": "true",
"x-voxeo-sbc-name": "10.90.63.103",
"x-voxeo-sbc-session-id": "cc6499d5ec479c60633f7ad2b6a4df15",
"x-voxeo-to": "<sip:[email protected]:5060>"
},
"id": "6e15c4ecadf33b72c9e0ba52f707b18c",
"initialText": null,
"timestamp": "2010-06-14T13:11:04.977Z",
"to": {
"channel": "VOICE",
"id": "9991443038",
"name": "unknown",
"network": "PSTN"
},
"userType": "HUMAN"
}
}
{
"result": {
"actions": {
"attempts": 1,
"confidence": 100,
"disposition": "SUCCESS",
"interpretation": "12345",
"name": "zip",
"utterance": "1 2 3 4 5",
"value": "12345",
"xml": "<?xml version=\"1.0\"?>\r\n<result grammar=\"[email protected]\">\r\n <interpretation grammar=\"[email protected]\" confidence=\"100\">\r\n \r\n <input mode=\"dtmf\">dtmf-1 dtmf-2 dtmf-3 dtmf-4 dtmf-5<\/input>\r\n <\/interpretation>\r\n<\/result>\r\n"
},
"callId": "6d620e133c2f7f265b4b34f94438fd95",
"complete": true,
"error": null,
"sequence": 1,
"sessionDuration": 10,
"sessionId": "bc73448b723c8c5dc4498d1a322851ec",
"state": "ANSWERED"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment