Skip to content

Instantly share code, notes, and snippets.

@fizzy33
Created July 6, 2013 20:43
Show Gist options
  • Save fizzy33/5941217 to your computer and use it in GitHub Desktop.
Save fizzy33/5941217 to your computer and use it in GitHub Desktop.
16:38:44,156 | qtp1739106410-34 | /webapi/index.tropo | DEBUG | medx.webapi.Index | received from tropo
{
"session":{
"id":"89c5f45de96f8ac16aac3b57387423fb",
"accountId":"174268",
"timestamp":"2013-07-06T20:38:42.291Z",
"userType":"HUMAN",
"initialText":null,
"callId":"c9b15fab9e8195ca5d368faaecf2c77f",
"to":{
"id":"4232072578",
"name":"+14232072578",
"channel":"VOICE",
"network":"SIP"
},
"from":{
"id":"6617480240",
"name":"+16617480240",
"channel":"VOICE",
"network":"SIP"
},
"headers":{
"x-sbc-contact":"<sip:+16617480240@192.168.37.76:5060>",
"Content-Length":"212",
"x-sbc-remote-party-id":"<sip:+16617480240@192.168.37.76:5060>;privacy=off;screen=no",
"x-sbc-call-id":"1242418695_7820198@192.168.37.76",
"x-sid":"f9764e75c8b80f08f62878c0ad347921",
"CSeq":"1 INVITE",
"Via":"SIP/2.0/UDP 10.6.63.189:5060;rport=5060;branch=z9hG4bK-1e834c-7730e301-32042bca-2aaad4316988",
"x-sbc-accept":"application/sdp",
"x-sbc-to":"<sip:+14232072578@67.231.8.93>",
"From":"<sip:6617480240@10.6.63.189:5060>;tag=2aaad49e9298-0-13c4-6009-1e834c-6dc77358-1e834c",
"x-sbc-from":"<sip:+16617480240@192.168.37.76;isup-oli=0>;tag=gK0d370758",
"x-sbc-allow":"BYE",
"x-voxeo-sbc-name":"10.6.63.189",
"x-accountid":"166948",
"Contact":"<sip:6617480240@10.6.63.189:5060>",
"To":"<sip:4232072578@ppid410.romeo.orl.tropo.com>",
"x-voxeo-sbc":"true",
"User-Agent":"VCS11.5.55126.0",
"x-voxeo-to":"<sip:+14232072578@67.231.8.93>",
"x-appid":"428725",
"x-sbc-content-disposition":"session;handling=required",
"x-sbc-request-uri":"sip:+14232072578@sip.tropo.com:5060",
"Max-Forwards":"70",
"x-sbc-max-forwards":"68",
"x-voxeo-sbc-session-id":"f9764e75c8b80f08f62878c0ad347921",
"x-sbc-record-route":"<sip:67.231.4.195;lr=on;ftag=gK0d370758>,<sip:67.231.8.93;lr=on;ftag=gK0d370758>",
"Call-ID":"1373143122251-2aaad92b7480-1fba7820-00309efe@10.6.63.189",
"Content-Type":"application/sdp"
}
}
}
16:38:44,722 | qtp1739106410-34 | /webapi/index.tropo | DEBUG | medx.webapi.Index | sending to tropo
{
"tropo":[
{
"on":{
"next":"/webapi/response.tropo",
"event":"continue"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"error"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"hangup"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"incomplete"
}
},{
"ask":{
"say":{
"value":"<?xml version='1.0'?> \n<speak xml:lang='en-US'>\n <audio src=\"https://vmail.medxcom.com/assets/prompts/system/reached_practice_of.wav\" />\n <s>Jeremy's TestGroup of Health and Wellness</s>\n <audio src=\"https://vmail.medxcom.com/assets/prompts/system/medical_emergency_directions.wav\" />\n <audio src=\"https://vmail.medxcom.com/assets/prompts/system/main_menu_prompt.wav\" />\n</speak>"
},
"choices":{
"value":"1,2,3,#",
"mode":"dtmf"
},
"attempts":5,
"bargein":true,
"timeout":6.0
}
}
]
}
16:38:49,221 | qtp1739106410-34 | /webapi/response.tropo | DEBUG | medx.webapi.ResponseHandler | received from tropo
{
"result":{
"sessionId":"89c5f45de96f8ac16aac3b57387423fb",
"callId":"c9b15fab9e8195ca5d368faaecf2c77f",
"state":"ANSWERED",
"sessionDuration":4,
"sequence":1,
"complete":true,
"error":null,
"calledid":"4232072578",
"actions":{
"name":"ask-3e11c0ca-54ef-48c4-a4a3-e9872d16546f",
"attempts":1,
"disposition":"SUCCESS",
"confidence":100,
"interpretation":"1",
"utterance":"1",
"concept":"1",
"value":"1",
"xml":"<?xml version=\"1.0\"?>\r\n<result grammar=\"0@07880a01.vxmlgrammar\">\r\n <interpretation grammar=\"0@07880a01.vxmlgrammar\" confidence=\"100\">\r\n \r\n <input mode=\"dtmf\">dtmf-1</input>\r\n </interpretation>\r\n</result>\r\n"
}
}
}
16:38:49,240 | qtp1739106410-34 | /webapi/response.tropo | DEBUG | medx.webapi.ResponseHandler | responding to tropo with
{
"tropo":[
{
"on":{
"next":"/webapi/response.tropo",
"event":"continue"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"error"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"hangup"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"incomplete"
}
},{
"record":{
"say":{
"value":"https://vmail.medxcom.com/assets/prompts/system/voicemail_prompt.wav"
},
"bargein":false,
"beep":true,
"choices":{
"value":"#"
},
"maxSilence":3.0,
"maxTime":130.0,
"transcription":"http://dev.medxcom.com:9090/api/postTranscription/4bfb4542-6103-45ee-8666-2c0c1c4c7d40",
"url":"https://vmail.medxcom.com/upload?path=%2Fnypbx%2Fvoicemails%2F89%2Fc5%2F89c5f45de96f8ac16aac3b57387423fb-4bfb4542-6103-45ee-8666-2c0c1c4c7d40.wav&uuid=4bfb4542-6103-45ee-8666-2c0c1c4c7d40&medxPhone=4232072578&did=4232072578&magic_token=asfdjkaslhlskajfsdalk&notify_url=https%3A%2F%2Fbeta.medxcom.com%2Fpbx_api%2Fcreate_asset&sessionId=89c5f45de96f8ac16aac3b57387423fb&createdAt=2013-07-06T16-38-49&userId=13527&kind=voicemail&callerId=6617480240&patientPhone=6617480240",
"timeout":8.0
}
}
]
}
16:39:36,136 | qtp1739106410-34 | /webapi/response.tropo | DEBUG | medx.webapi.ResponseHandler | received from tropo
{
"result":{
"sessionId":"89c5f45de96f8ac16aac3b57387423fb",
"callId":"c9b15fab9e8195ca5d368faaecf2c77f",
"state":"ANSWERED",
"sessionDuration":51,
"sequence":2,
"complete":true,
"error":null,
"calledid":"4232072578",
"actions":{
"name":"record-185d2202-b15c-49cb-a189-f9daa801162d",
"attempts":1,
"disposition":"SUCCESS",
"duration":6840,
"url":"https://vmail.medxcom.com/upload?path=%2Fnypbx%2Fvoicemails%2F89%2Fc5%2F89c5f45de96f8ac16aac3b57387423fb-4bfb4542-6103-45ee-8666-2c0c1c4c7d40.wav&uuid=4bfb4542-6103-45ee-8666-2c0c1c4c7d40&medxPhone=4232072578&did=4232072578&magic_token=asfdjkaslhlskajfsdalk&notify_url=https%3A%2F%2Fbeta.medxcom.com%2Fpbx_api%2Fcreate_asset&sessionId=89c5f45de96f8ac16aac3b57387423fb&createdAt=2013-07-06T16-38-49&userId=13527&kind=voicemail&callerId=6617480240&patientPhone=6617480240"
}
}
}
16:39:36,181 | qtp1739106410-34 | /webapi/response.tropo | DEBUG | medx.webapi.ResponseHandler | responding to tropo with
{
"tropo":[
{
"on":{
"next":"/webapi/response.tropo",
"event":"continue"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"error"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"hangup"
}
},{
"on":{
"next":"/webapi/response.tropo",
"event":"incomplete"
}
},{
"say":{
"value":"https://vmail.medxcom.com/assets/prompts/system/thank_caller.wav"
}
}
]
}
16:39:38,667 | qtp1739106410-34 | /webapi/response.tropo | DEBUG | medx.webapi.ResponseHandler | received from tropo
{
"result":{
"sessionId":"89c5f45de96f8ac16aac3b57387423fb",
"callId":"c9b15fab9e8195ca5d368faaecf2c77f",
"state":"ANSWERED",
"sessionDuration":53,
"sequence":3,
"complete":true,
"error":null,
"calledid":"4232072578"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment