jambonz / jambonz-feature-server

Core telephony feature server for the jambones platform
MIT License
39 stars 39 forks source link

dtmfBargein=false not working in case of interDigitTimeout is set #282

Closed vdharashive closed 1 year ago

vdharashive commented 1 year ago

71|jambonz-feature-server | {"level":20,"time":1679649995137,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","command":"redirect","call_sid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","queueCommand":true,"data":[{"verb":"tag","data":{"userNoInputCounter":1,"retryCount":3}},{"verb":"sip:request","method":"INFO","headers":{"X-AC-Action":"stop-siprec;recording-ip-group=\"SIPrec\""}},{"verb":"gather","actionHook":"/actions/hooks","input":["digits","speech"],"interDigitTimeout":2,"minDigits":1,"finishOnKey":"#","numDigits":12,"say":{"text":"Search For Writing Paragraph In English at Getspeedyresults.com. Find Writing Paragraph In English. Now with us! Make Things Easy. Connect Here. Unbeatable Value. Connect on any device. Results in seconds. Try It Free. Quality tested. More value than ever. Real-Time Data."},"bargein":false,"timeout":10,"dtmfBargein":false,"listenDuringPrompt":false}],"msg":"received command"} 71|jambonz-feature-server | {"level":30,"time":1679649995137,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","command":"redirect","queueCommand":true,"msg":"CallSession:_onCommand - received command"} 71|jambonz-feature-server | {"level":20,"time":1679649995137,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","document":[{"tag":{"data":{"userNoInputCounter":1,"retryCount":3}}},{"sip:request":{"method":"INFO","headers":{"X-AC-Action":"stop-siprec;recording-ip-group=\"SIPrec\""}}},{"gather":{"actionHook":"/actions/hooks","input":["digits","speech"],"interDigitTimeout":2,"minDigits":1,"finishOnKey":"#","numDigits":12,"say":{"text":"Search For Writing Paragraph In English at Getspeedyresults.com. Find Writing Paragraph In English. Now with us! Make Things Easy. Connect Here. Unbeatable Value. Connect on any device. Results in seconds. Try It Free. Quality tested. More value than ever. Real-Time Data."},"bargein":false,"timeout":10,"dtmfBargein":false,"listenDuringPrompt":false}}],"msg":"normalizeJambones: returning document with 3 tasks"} 71|jambonz-feature-server | {"level":20,"time":1679649995138,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","tasks":"[tag,sip:request,gather{inputs=[speech,digits],vendor=default,language=default,with nested say task}]","msg":"CallSession:_onCommand - queueing tasks"} 71|jambonz-feature-server | {"level":30,"time":1679649995138,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","tasks":"[tag,sip:request,gather{inputs=[speech,digits],vendor=default,language=default,with nested say task}]","msg":"CallSession:_onCommand - updated task list"} 71|jambonz-feature-server | {"level":20,"time":1679649995138,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","resolution":{"reason":"received command","queue":true,"command":"[tag,sip:request,gather{inputs=[speech,digits],vendor=default,language=default,with nested say task}]"},"msg":"CallSession:_onCommand - got commands, waking up.."} 71|jambonz-feature-server | {"level":30,"time":1679649995138,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec starting task #0:7: tag"} 71|jambonz-feature-server | {"level":30,"time":1679649995138,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec completed task #0:7: tag"} 71|jambonz-feature-server | {"level":30,"time":1679649995139,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec starting task #0:8: sip:request"} 71|jambonz-feature-server | {"level":30,"time":1679649995139,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","dlg":{"id":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf;from-tag=52SZ2DHDrmvpp","type":"uas","sip":{"callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","remoteTag":"52SZ2DHDrmvpp","localTag":"8jXyeSZ7m30mK"},"local":{"uri":"sip:172.31.27.212:5070","sdp":"v=0\r\no=FreeSWITCH 1679614262 1679614263 IN IP4 172.31.27.212\r\ns=FreeSWITCH\r\nc=IN IP4 172.31.27.212\r\nt=0 0\r\nm=audio 35722 RTP/AVP 0 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=ptime:20\r\na=sendrecv\r\na=rtcp:35723 IN IP4 172.31.27.212\r\n","contact":""},"remote":{"uri":"sip:54.144.17.110:5060","sdp":"v=0\r\no=root 1964385430 456918898 IN IP4 172.31.27.212\r\ns=Twilio Media Gateway\r\nc=IN IP4 172.31.27.212\r\nt=0 0\r\nm=audio 16196 RTP/AVP 0 8 111 101\r\na=maxptime:20\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:111 OPUS/48000/2\r\na=fmtp:111 minptime=20; maxplaybackrate=8000; maxaveragebitrate=50000; useinbandfec=1\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:16197\r\na=ptime:20\r\n"},"onHold":false},"msg":"TaskSipRequest: sending a SIP INFO"} 71|jambonz-feature-server | {"level":20,"time":1679649995154,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","result":{"result":"success","sipStatus":500},"msg":"TaskSipRequest: received response to INFO"} 71|jambonz-feature-server | {"level":30,"time":1679649995154,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec completed task #0:8: sip:request"} 71|jambonz-feature-server | {"level":30,"time":1679649995154,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec starting task #0:9: gather"} 71|jambonz-feature-server | {"level":20,"time":1679649995154,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Gather:exec"} 71|jambonz-feature-server | {"level":30,"time":1679649995155,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","sttCredentials":{"speech_credential_sid":"77069818-cf7d-428a-bb5e-5313f65e6fc9","credentials": 71|jambonz-feature-server | {"level":30,"time":1679649995155,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","vendor":"google","language":"en-US","voice":"en-US-Wavenet-C","msg":"TaskSay:exec"} 71|jambonz-feature-server | {"level":20,"time":1679649995157,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8d55fa212f5412ba0eef8c3dbd80bc4cc9d52561b.mp3, served from cache true"} 71|jambonz-feature-server | {"level":20,"time":1679649995157,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"adding tmp file to track /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8d55fa212f5412ba0eef8c3dbd80bc4cc9d52561b.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679649995157,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","filepath":["/tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8d55fa212f5412ba0eef8c3dbd80bc4cc9d52561b.mp3"],"msg":"synthesized files for tts"} 71|jambonz-feature-server | {"level":20,"time":1679649995157,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Say:exec sending command to play file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8d55fa212f5412ba0eef8c3dbd80bc4cc9d52561b.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679649997882,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"4792471b-44c8-123c-bc81-0e04dbeb38cf","callSid":"095ab129-db41-4802-91ef-813b81abc4f0","accountSid":"639649e7-30d7-4ae1-bf11-71ae5dc41f65","callingNumber":"+16812213593","calledNumber":"+15075844104","traceId":"19340e0753bc5fb78d21238f75c55b56","msg":"TaskGather:_onEndOfUtterance"} 71|jambonz-feature-server | {"level":20,"time":1679649997882,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"4792471b-44c8-123c-bc81-0e04dbeb38cf","callSid":"095ab129-db41-4802-91ef-813b81abc4f0","accountSid":"639649e7-30d7-4ae1-bf11-71ae5dc41f65","callingNumber":"+16812213593","calledNumber":"+15075844104","traceId":"19340e0753bc5fb78d21238f75c55b56","vendor":"google","interim":true,"bugname":"google_transcribe","msg":"Gather:_startTranscribing"} 67|sbc-sip-sidecar | {"level":20,"time":1679650001569,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"cached registration for supportdev12@xyzvg-dev.xyz.ai is about to expire, need to re-authenticate"} 67|sbc-sip-sidecar | {"level":20,"time":1679650001570,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"retrieved account: {\"account_sid\":\"8a453c3b-cb65-4586-bd93-241477836eeb\",\"name\":\"Smartassist-dev\",\"sip_realm\":\"xyzvg-dev.xyz.ai\",\"service_provider_sid\":\"6dd9b92d-e020-4489-ae8c-b59a10795a6a\",\"registration_hook_sid\":\"c4374750-492f-4abb-8df3-b1b69f75d563\",\"queue_event_hook_sid\":null,\"device_calling_application_sid\":\"017c1ef1-9b93-455e-8541-5bae0f179adf\",\"is_active\":1,\"created_at\":\"2023-03-02T10:20:34.000Z\",\"plan_type\":\"trial\",\"stripe_customer_id\":null,\"webhook_secret\":\"wh_secret_cYdUt1FETA6dae3Ntz9mya\",\"disable_cdrs\":0,\"trial_end_date\":null,\"deactivated_reason\":null,\"device_to_call_ratio\":5,\"subspace_client_id\":null,\"subspace_client_secret\":null,\"subspace_sip_teleport_id\":null,\"subspace_sip_teleport_destinations\":null,\"siprec_hook_sid\":null,\"registration_hook\":{\"webhook_sid\":\"c4374750-492f-4abb-8df3-b1b69f75d563\",\"url\":\"https://smartassist-xyzvg-np.xyz.ai/api/internal/xyzvg/register\",\"method\":\"POST\",\"username\":\"xyz.ai\",\"password\":\"zvL7$7$iBqJ42$0@\"}}"} 67|sbc-sip-sidecar | {"level":20,"time":1679650001586,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"received REGISTER from tcp/49.249.160.22:65102"} 67|sbc-sip-sidecar | {"level":20,"time":1679650001586,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"adding aor to redis supportdev12@xyzvg-dev.xyz.ai with expires 600"} 71|jambonz-feature-server | {"level":20,"time":1679650001607,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","dtmf":"6","duration":"1120","source":"RTP","msg":"TaskGather:_onDtmf"} 71|jambonz-feature-server | {"level":20,"time":1679650001607,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"starting interdigit timer of 2000"} 71|jambonz-feature-server | {"level":20,"time":1679650001607,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","dtmf":"6","duration":"1120","source":"RTP","msg":"TaskGather:_onDtmf"} 71|jambonz-feature-server | {"level":20,"time":1679650001607,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"starting interdigit timer of 2000"} 71|jambonz-feature-server | {"level":20,"time":1679650001928,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","dtmf":"6","duration":"1120","source":"RTP","msg":"TaskGather:_onDtmf"} 71|jambonz-feature-server | {"level":20,"time":1679650001928,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"starting interdigit timer of 2000"} 71|jambonz-feature-server | {"level":20,"time":1679650001928,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","dtmf":"6","duration":"1120","source":"RTP","msg":"TaskGather:_onDtmf"} 71|jambonz-feature-server | {"level":20,"time":1679650001929,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"starting interdigit timer of 2000"}

71|jambonz-feature-server | {"level":20,"time":1679650003929,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"TaskGather:resolve with reason dtmf-interdigit-timeout"} 71|jambonz-feature-server | {"level":20,"time":1679650003929,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"TaskGather:resolve with reason dtmf-interdigit-timeout"} 71|jambonz-feature-server | {"level":20,"time":1679650003931,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","obj":{"type":"verb:hook","msgid":"xpRWskfK5KGrHCemenXE3h","call_sid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","hook":"/actions/hooks","data":{"call_sid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","direction":"inbound","from":"+14154556420","to":"+14066377340","call_id":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","sip_status":200,"sip_reason":"OK","call_status":"in-progress","account_sid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","trace_id":"302f399d6aba467be881836416be8d29","application_sid":"86cb7564-a604-4db3-a2b3-bfe9976d5054","fs_sip_address":"172.31.27.212:5070","originating_sip_ip":"50.19.121.248","originating_sip_trunk_name":"xyzVGTRUNK","customerData":{"userNoInputCounter":1,"retryCount":3},"api_base_url":"http://54.144.17.110/v1","digits":"66","reason":"dtmfDetected"},"b3":"302f399d6aba467be881836416be8d29-9b92147a9619ed89-1"},"msg":"WsRequestor:request websocket: sent (/actions/hooks)"} 71|jambonz-feature-server | {"level":20,"time":1679650004150,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","url":"wss://78e0-49-249-160-22.in.ngrok.io/xyzvg/bot?botid=st-11e5338b-ff48-53e0-9d90-12fdd7f859d9&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBJZCI6ImNzLTA2MzcyODQwLWE4NGItNWQxZC05MzFhLTY5YTQ2NmM1ZDU4YSJ9.EhKZtIMiSwhpsBMoYxkxq-Le6sCpbIYiHb0vTo5gw44","msg":"WsRequestor:_recvAck - received response to xpRWskfK5KGrHCemenXE3h"} 71|jambonz-feature-server | {"level":20,"time":1679650004150,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"WsRequestor:request /actions/hooks succeeded in 219ms"} 71|jambonz-feature-server | {"level":30,"time":1679650004151,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec completed task #0:9: gather"} 71|jambonz-feature-server | {"level":30,"time":1679650004151,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"_awaitCommandsOrHangup - waiting..."} 71|jambonz-feature-server | {"level":20,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","command":"redirect","call_sid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","queueCommand":true,"data":[{"verb":"tag","data":{"userNoInputCounter":1,"retryCount":3}},{"verb":"say","text":"22 and 66"}],"msg":"received command"} 71|jambonz-feature-server | {"level":30,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","command":"redirect","queueCommand":true,"msg":"CallSession:_onCommand - received command"} 71|jambonz-feature-server | {"level":20,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","document":[{"tag":{"data":{"userNoInputCounter":1,"retryCount":3}}},{"say":{"text":"22 and 66"}}],"msg":"normalizeJambones: returning document with 2 tasks"} 71|jambonz-feature-server | {"level":20,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","tasks":"[tag,say{text=22 and 66}]","msg":"CallSession:_onCommand - queueing tasks"} 71|jambonz-feature-server | {"level":30,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","tasks":"[tag,say{text=22 and 66}]","msg":"CallSession:_onCommand - updated task list"} 71|jambonz-feature-server | {"level":20,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","resolution":{"reason":"received command","queue":true,"command":"[tag,say{text=22 and 66}]"},"msg":"CallSession:_onCommand - got commands, waking up.."} 71|jambonz-feature-server | {"level":30,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec starting task #0:10: tag"} 71|jambonz-feature-server | {"level":30,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec completed task #0:10: tag"} 71|jambonz-feature-server | {"level":30,"time":1679650004893,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec starting task #0:11: say"} 71|jambonz-feature-server | {"level":30,"time":1679650004894,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","vendor":"google","language":"en-US","voice":"en-US-Wavenet-C","msg":"TaskSay:exec"}

71|jambonz-feature-server | {"level":30,"time":1679650005088,"pid":3506468,"hostname":"ip-172-31-27-212","msg":"tts rtt time for 10 chars on google: 193"} 71|jambonz-feature-server | {"level":20,"time":1679650005089,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d88b6bffb78c183a48b9d846e50b2f3fb1b9520654.mp3, served from cache false"} 71|jambonz-feature-server | {"level":20,"time":1679650005089,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"adding tmp file to track /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d88b6bffb78c183a48b9d846e50b2f3fb1b9520654.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679650005090,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","filepath":["/tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d88b6bffb78c183a48b9d846e50b2f3fb1b9520654.mp3"],"msg":"synthesized files for tts"} 71|jambonz-feature-server | {"level":20,"time":1679650005090,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Say:exec sending command to play file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d88b6bffb78c183a48b9d846e50b2f3fb1b9520654.mp3"}

71|jambonz-feature-server | {"level":20,"time":1679650005943,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","command":"redirect","call_sid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","queueCommand":true,"data":[{"verb":"tag","data":{"userNoInputCounter":1,"retryCount":3}},{"verb":"sip:request","method":"INFO","headers":{"X-AC-Action":"stop-siprec;recording-ip-group=\"SIPrec\""}},{"verb":"gather","actionHook":"/actions/hooks","input":["digits","speech"],"interDigitTimeout":2,"minDigits":1,"finishOnKey":"#","numDigits":12,"say":{"text":"Let me know if you need any other assistance"},"bargein":false,"timeout":10,"dtmfBargein":false,"listenDuringPrompt":false}],"msg":"received command"} 71|jambonz-feature-server | {"level":30,"time":1679650005943,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","command":"redirect","queueCommand":true,"msg":"CallSession:_onCommand - received command"} 71|jambonz-feature-server | {"level":20,"time":1679650005943,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","document":[{"tag":{"data":{"userNoInputCounter":1,"retryCount":3}}},{"sip:request":{"method":"INFO","headers":{"X-AC-Action":"stop-siprec;recording-ip-group=\"SIPrec\""}}},{"gather":{"actionHook":"/actions/hooks","input":["digits","speech"],"interDigitTimeout":2,"minDigits":1,"finishOnKey":"#","numDigits":12,"say":{"text":"Let me know if you need any other assistance"},"bargein":false,"timeout":10,"dtmfBargein":false,"listenDuringPrompt":false}}],"msg":"normalizeJambones: returning document with 3 tasks"} 71|jambonz-feature-server | {"level":20,"time":1679650005944,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","tasks":"[tag,sip:request,gather{inputs=[speech,digits],vendor=default,language=default,with nested say task}]","msg":"CallSession:_onCommand - queueing tasks"} 71|jambonz-feature-server | {"level":30,"time":1679650005944,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","tasks":"[tag,sip:request,gather{inputs=[speech,digits],vendor=default,language=default,with nested say task}]","msg":"CallSession:_onCommand - updated task list"} 67|sbc-sip-sidecar | {"level":30,"time":1679650005962,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"rejecting REGISTER from sip:54.144.17.110:5060 as it has an ipv4 address and sip realm is required"} 71|jambonz-feature-server | {"level":20,"time":1679650006377,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"4792471b-44c8-123c-bc81-0e04dbeb38cf","callSid":"095ab129-db41-4802-91ef-813b81abc4f0","accountSid":"639649e7-30d7-4ae1-bf11-71ae5dc41f65","callingNumber":"+16812213593","calledNumber":"+15075844104","traceId":"19340e0753bc5fb78d21238f75c55b56","msg":"TaskGather:_onEndOfUtterance"} 71|jambonz-feature-server | {"level":20,"time":1679650006377,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"4792471b-44c8-123c-bc81-0e04dbeb38cf","callSid":"095ab129-db41-4802-91ef-813b81abc4f0","accountSid":"639649e7-30d7-4ae1-bf11-71ae5dc41f65","callingNumber":"+16812213593","calledNumber":"+15075844104","traceId":"19340e0753bc5fb78d21238f75c55b56","vendor":"google","interim":true,"bugname":"google_transcribe","msg":"Gather:_startTranscribing"} 71|jambonz-feature-server | {"level":20,"time":1679650007263,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Say:exec completed play file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d88b6bffb78c183a48b9d846e50b2f3fb1b9520654.mp3"} 71|jambonz-feature-server | {"level":30,"time":1679650007263,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec completed task #0:11: say"} 71|jambonz-feature-server | {"level":30,"time":1679650007263,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec starting task #0:12: tag"} 71|jambonz-feature-server | {"level":30,"time":1679650007263,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec completed task #0:12: tag"} 71|jambonz-feature-server | {"level":30,"time":1679650007263,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec starting task #0:13: sip:request"} 71|jambonz-feature-server | {"level":30,"time":1679650007264,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","dlg":{"id":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf;from-tag=52SZ2DHDrmvpp","type":"uas","sip":{"callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","remoteTag":"52SZ2DHDrmvpp","localTag":"8jXyeSZ7m30mK"},"local":{"uri":"sip:172.31.27.212:5070","sdp":"v=0\r\no=FreeSWITCH 1679614262 1679614263 IN IP4 172.31.27.212\r\ns=FreeSWITCH\r\nc=IN IP4 172.31.27.212\r\nt=0 0\r\nm=audio 35722 RTP/AVP 0 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=ptime:20\r\na=sendrecv\r\na=rtcp:35723 IN IP4 172.31.27.212\r\n","contact":""},"remote":{"uri":"sip:54.144.17.110:5060","sdp":"v=0\r\no=root 1964385430 456918898 IN IP4 172.31.27.212\r\ns=Twilio Media Gateway\r\nc=IN IP4 172.31.27.212\r\nt=0 0\r\nm=audio 16196 RTP/AVP 0 8 111 101\r\na=maxptime:20\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:111 OPUS/48000/2\r\na=fmtp:111 minptime=20; maxplaybackrate=8000; maxaveragebitrate=50000; useinbandfec=1\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:16197\r\na=ptime:20\r\n"},"onHold":false},"msg":"TaskSipRequest: sending a SIP INFO"} 71|jambonz-feature-server | {"level":20,"time":1679650007273,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","result":{"result":"success","sipStatus":500},"msg":"TaskSipRequest: received response to INFO"} 71|jambonz-feature-server | {"level":30,"time":1679650007273,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec completed task #0:13: sip:request"} 71|jambonz-feature-server | {"level":30,"time":1679650007273,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec starting task #0:14: gather"} 71|jambonz-feature-server | {"level":20,"time":1679650007273,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Gather:exec"} 71|jambonz-feature-server | {"level":30,"time":1679650007273,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","sttCredentials":{"speech_credential_sid":"77069818-cf7d-428a-bb5e-5313f65e6fc9","credentials": 71|jambonz-feature-server | {"level":30,"time":1679650007274,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","vendor":"google","language":"en-US","voice":"en-US-Wavenet-C","msg":"TaskSay:exec"} 71|jambonz-feature-server | {"level":20,"time":1679650007275,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8c94f30f845e724124d6309769033ad3eb6854f86.mp3, served from cache true"} 71|jambonz-feature-server | {"level":20,"time":1679650007276,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"adding tmp file to track /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8c94f30f845e724124d6309769033ad3eb6854f86.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679650007276,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","filepath":["/tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8c94f30f845e724124d6309769033ad3eb6854f86.mp3"],"msg":"synthesized files for tts"} 71|jambonz-feature-server | {"level":20,"time":1679650007276,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Say:exec sending command to play file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8c94f30f845e724124d6309769033ad3eb6854f86.mp3"} 67|sbc-sip-sidecar | {"level":30,"time":1679650008456,"pid":3506440,"hostname":"ip-172-31-27-212","active":true,"myToken":"16X9rhWrzVNzBQqmXYV2Ao","msg":"checking in on regbot status"} 67|sbc-sip-sidecar | {"level":30,"time":1679650008456,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"I am active, and shall continue in my role as regbot"} 67|sbc-sip-sidecar | {"level":20,"time":1679650008665,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"cached registration for supportdev2@xyzvg-dev.xyz.ai is about to expire, need to re-authenticate"} 67|sbc-sip-sidecar | {"level":20,"time":1679650008668,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"retrieved account: {\"account_sid\":\"8a453c3b-cb65-4586-bd93-241477836eeb\",\"name\":\"Smartassist-dev\",\"sip_realm\":\"xyzvg-dev.xyz.ai\",\"service_provider_sid\":\"6dd9b92d-e020-4489-ae8c-b59a10795a6a\",\"registration_hook_sid\":\"c4374750-492f-4abb-8df3-b1b69f75d563\",\"queue_event_hook_sid\":null,\"device_calling_application_sid\":\"017c1ef1-9b93-455e-8541-5bae0f179adf\",\"is_active\":1,\"created_at\":\"2023-03-02T10:20:34.000Z\",\"plan_type\":\"trial\",\"stripe_customer_id\":null,\"webhook_secret\":\"wh_secret_cYdUt1FETA6dae3Ntz9mya\",\"disable_cdrs\":0,\"trial_end_date\":null,\"deactivated_reason\":null,\"device_to_call_ratio\":5,\"subspace_client_id\":null,\"subspace_client_secret\":null,\"subspace_sip_teleport_id\":null,\"subspace_sip_teleport_destinations\":null,\"siprec_hook_sid\":null,\"registration_hook\":{\"webhook_sid\":\"c4374750-492f-4abb-8df3-b1b69f75d563\",\"url\":\"https://smartassist-xyzvg-np.xyz.ai/api/internal/xyzvg/register\",\"method\":\"POST\",\"username\":\"xyz.ai\",\"password\":\"zvL7$7$iBqJ42$0@\"}}"} 67|sbc-sip-sidecar | {"level":20,"time":1679650008680,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"received REGISTER from tcp/49.249.160.22:47520"} 67|sbc-sip-sidecar | {"level":20,"time":1679650008680,"pid":3506440,"hostname":"ip-172-31-27-212","msg":"adding aor to redis supportdev2@xyzvg-dev.xyz.ai with expires 600"} 71|jambonz-feature-server | {"level":20,"time":1679650009933,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Say:exec completed play file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8c94f30f845e724124d6309769033ad3eb6854f86.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679650009933,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Gather: nested say task completed"} 71|jambonz-feature-server | {"level":20,"time":1679650009934,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Gather:exec - calling _initSpeech"} 71|jambonz-feature-server | {"level":20,"time":1679650009934,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","opts":{"GOOGLE_APPLICATION_CREDENTIALS":","GOOGLE_SPEECH_SINGLE_UTTERANCE":1,"GOOGLE_SPEECH_MODEL":"latest_short","GOOGLE_SPEECH_HINTS":"","GOOGLE_SPEECH_SEPARATE_RECOGNITION_PER_CHANNEL":"","GOOGLE_SPEECH_PROFANITY_FILTER":"","GOOGLE_SPEECH_ENABLE_AUTOMATIC_PUNCTUATION":"","GOOGLE_SPEECH_ENABLE_WORD_TIME_OFFSETS":"","GOOGLE_SPEECH_SPEAKER_DIARIZATION":"","GOOGLE_SPEECH_USE_ENHANCED":"","GOOGLE_SPEECH_ALTERNATIVE_LANGUAGE_CODES":"","GOOGLE_SPEECH_METADATA_INTERACTION_TYPE":"","GOOGLE_SPEECH_METADATA_INDUSTRY_NAICS_CODE":""},"msg":"recognizer channel vars"} 71|jambonz-feature-server | {"level":20,"time":1679650009934,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","}","GOOGLE_SPEECH_SINGLE_UTTERANCE":1,"GOOGLE_SPEECH_MODEL":"latest_short","GOOGLE_SPEECH_HINTS":"","GOOGLE_SPEECH_SEPARATE_RECOGNITION_PER_CHANNEL":"","GOOGLE_SPEECH_PROFANITY_FILTER":"","GOOGLE_SPEECH_ENABLE_AUTOMATIC_PUNCTUATION":"","GOOGLE_SPEECH_ENABLE_WORD_TIME_OFFSETS":"","GOOGLE_SPEECH_SPEAKER_DIARIZATION":"","GOOGLE_SPEECH_USE_ENHANCED":"","GOOGLE_SPEECH_ALTERNATIVE_LANGUAGE_CODES":"","GOOGLE_SPEECH_METADATA_INTERACTION_TYPE":"","GOOGLE_SPEECH_METADATA_INDUSTRY_NAICS_CODE":"","msg":"TaskGather:_initSpeech - channel vars"} 71|jambonz-feature-server | {"level":20,"time":1679650010030,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","vendor":"google","locale":"en-US","interim":false,"bugname":"google_transcribe","msg":"Gather:_startTranscribing"} 71|jambonz-feature-server | {"level":30,"time":1679650010575,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"InboundCallSession: caller hung up"} 69|sbc-inbound | {"level":20, "time": "2023-03-24T09:26:50.576Z","pid":3506456,"hostname":"ip-172-31-27-212","callId":"6b58adf29cfc17b27ae46375487a5631@0.0.0.0","calls":4,"callsSP":68,"callsApp":0,"service_provider_sid":"6dd9b92d-e020-4489-ae8c-b59a10795a6a","account_sid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","application_sid":"86cb7564-a604-4db3-a2b3-bfe9976d5054","msg":"call counts after adjustment"} 69|sbc-inbound | {"level":30, "time": "2023-03-24T09:26:50.577Z","pid":3506456,"hostname":"ip-172-31-27-212","callId":"6b58adf29cfc17b27ae46375487a5631@0.0.0.0","cdr":{"from":"+14154556420","to":"+14066377340","sip_callid":"6b58adf29cfc17b27ae46375487a5631@0.0.0.0","duration":25,"attempted_at":1679649984138,"direction":"inbound","host":"54.144.17.110","remote_host":"50.19.121.248","answered":true,"account_sid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","service_provider_sid":"6dd9b92d-e020-4489-ae8c-b59a10795a6a","answered_at":1679649984999,"call_sid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","application_sid":"86cb7564-a604-4db3-a2b3-bfe9976d5054","trace_id":"302f399d6aba467be881836416be8d29","terminated_at":1679650010577,"termination_reason":"caller hungup","sip_status":200,"trunk":"xyzVGTRUNK"},"msg":"going to write a cdr now.."} 69|sbc-inbound | {"level":30, "time": "2023-03-24T09:26:50.578Z","pid":3506456,"hostname":"ip-172-31-27-212","callId":"6b58adf29cfc17b27ae46375487a5631@0.0.0.0","msg":"call ended with normal termination, there are 1 active"} 71|jambonz-feature-server | {"level":20,"time":1679650010575,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"gather is being killed"} 71|jambonz-feature-server | {"level":20,"time":1679650010575,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"say is being killed"} 71|jambonz-feature-server | {"level":20,"time":1679650010575,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"TaskSay:kill - killing audio"} 71|jambonz-feature-server | {"level":20,"time":1679650010577,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"TaskGather:resolve with reason killed"} 71|jambonz-feature-server | {"level":20,"time":1679650010577,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"TaskGather:_resolve - call is gone, not invoking web callback"} 71|jambonz-feature-server | {"level":30,"time":1679650010577,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec completed task #0:14: gather"} 71|jambonz-feature-server | {"level":30,"time":1679650010577,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:exec all tasks complete"} 71|jambonz-feature-server | {"level":20,"time":1679650010578,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"WsRequestor:close closing socket"} 71|jambonz-feature-server | {"level":20,"time":1679650010578,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"WsRequestor:close closing socket"} 71|jambonz-feature-server | {"level":30,"time":1679650010578,"pid":3506468,"hostname":"ip-172-31-27-212","msg":"SessionTracker:remove callSid 1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8, we have 3 being tracked"} 71|jambonz-feature-server | {"level":20,"time":1679650010578,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","obj":{"type":"call:status","msgid":"6ScT1JXty9fTqeSnsKRAky","call_sid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","data":{"call_sid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","direction":"inbound","from":"+14154556420","to":"+14066377340","call_id":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","sip_status":200,"sip_reason":"OK","call_status":"completed","account_sid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","trace_id":"302f399d6aba467be881836416be8d29","application_sid":"86cb7564-a604-4db3-a2b3-bfe9976d5054","fs_sip_address":"172.31.27.212:5070","originating_sip_ip":"50.19.121.248","originating_sip_trunk_name":"xyzVGTRUNK","call_termination_by":"caller","duration":25,"customerData":{"userNoInputCounter":1,"retryCount":3},"api_base_url":"http://54.144.17.110/v1"},"b3":"302f399d6aba467be881836416be8d29-9999e638671d72ea-1"},"msg":"WsRequestor:request websocket: sent (wss://78e0-49-249-160-22.in.ngrok.io/xyzvg/bot?botid=st-11e5338b-ff48-53e0-9d90-12fdd7f859d9&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBJZCI6ImNzLTA2MzcyODQwLWE4NGItNWQxZC05MzFhLTY5YTQ2NmM1ZDU4YSJ9.EhKZtIMiSwhpsBMoYxkxq-Le6sCpbIYiHb0vTo5gw44)"} 71|jambonz-feature-server | {"level":20,"time":1679650010579,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:_clearResources successfully deleted /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8b692cee63dee4a229cff0c1b147aba5df6e9f20a.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679650010579,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:_clearResources successfully deleted /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8d55fa212f5412ba0eef8c3dbd80bc4cc9d52561b.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679650010579,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:_clearResources successfully deleted /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d88b6bffb78c183a48b9d846e50b2f3fb1b9520654.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679650010579,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"CallSession:_clearResources successfully deleted /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8c94f30f845e724124d6309769033ad3eb6854f86.mp3"} 69|sbc-inbound | {"level":50, "time": "2023-03-24T09:26:50.581Z","pid":3506456,"hostname":"ip-172-31-27-212","callId":"6b58adf29cfc17b27ae46375487a5631@0.0.0.0","err":{"type":"Error","message":"connect ECONNREFUSED 127.0.0.1:8086","stack":"Error: connect ECONNREFUSED 127.0.0.1:8086\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1487:16)","errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8086},"msg":"Error writing call counts"} 69|sbc-inbound | {"level":50, "time": "2023-03-24T09:26:50.581Z","pid":3506456,"hostname":"ip-172-31-27-212","callId":"6b58adf29cfc17b27ae46375487a5631@0.0.0.0","err":{"type":"Error","message":"connect ECONNREFUSED 127.0.0.1:8086","stack":"Error: connect ECONNREFUSED 127.0.0.1:8086\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1487:16)","errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8086},"msg":"Error writing cdr for completed call"} 71|jambonz-feature-server | {"level":20,"time":1679650010713,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Say:exec completed play file /tmp/tts-1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8d55fa212f5412ba0eef8c3dbd80bc4cc9d52561b.mp3"} 71|jambonz-feature-server | {"level":20,"time":1679650010714,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Gather: nested say task completed"} 71|jambonz-feature-server | {"level":20,"time":1679650010714,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","msg":"Gather:exec - calling _initSpeech"} 71|jambonz-feature-server | {"level":20,"time":1679650010714,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","opts":{"GOOGLE_APPLICATION_CREDENTIALS":"}","GOOGLE_SPEECH_SINGLE_UTTERANCE":1,"GOOGLE_SPEECH_MODEL":"latest_short","GOOGLE_SPEECH_HINTS":"","GOOGLE_SPEECH_SEPARATE_RECOGNITION_PER_CHANNEL":"","GOOGLE_SPEECH_PROFANITY_FILTER":"","GOOGLE_SPEECH_ENABLE_AUTOMATIC_PUNCTUATION":"","GOOGLE_SPEECH_ENABLE_WORD_TIME_OFFSETS":"","GOOGLE_SPEECH_SPEAKER_DIARIZATION":"","GOOGLE_SPEECH_USE_ENHANCED":"","GOOGLE_SPEECH_ALTERNATIVE_LANGUAGE_CODES":"","GOOGLE_SPEECH_METADATA_INTERACTION_TYPE":"","GOOGLE_SPEECH_METADATA_INDUSTRY_NAICS_CODE":""},"msg":"recognizer channel vars"} 71|jambonz-feature-server | {"level":20,"time":1679650010714,"pid":3506468,"hostname":"ip-172-31-27-212","callId":"c965c3c3-44c8-123c-bc81-0e04dbeb38cf","callSid":"1fd498f5-fd74-4ac5-bfef-d78fa4f7d5d8","accountSid":"8fbd67ab-746f-440d-9d9a-3650dd7062ae","callingNumber":"+14154556420","calledNumber":"+14066377340","traceId":"302f399d6aba467be881836416be8d29","GOOGLE_APPLICATION_CREDENTIALS":","GOOGLE_SPEECH_SINGLE_UTTERANCE":1,"GOOGLE_SPEECH_MODEL":"latest_short","GOOGLE_SPEECH_HINTS":"","GOOGLE_SPEECH_SEPARATE_RECOGNITION_PER_CHANNEL":"","GOOGLE_SPEECH_PROFANITY_FILTER":"","GOOGLE_SPEECH_ENABLE_AUTOMATIC_PUNCTUATION":"","GOOGLE_SPEECH_ENABLE_WORD_TIME_OFFSETS":"","GOOGLE_SPEECH_SPEAKER_DIARIZATION":"","GOOGLE_SPEECH_USE_ENHANCED":"","GOOGLE_SPEECH_ALTERNATIVE_LANGUAGE_CODES":"","GOOGLE_SPEECH_METADATA_INTERACTION_TYPE":"","GOOGLE_SPEECH_METADATA_INDUSTRY_NAICS_CODE":"","msg":"TaskGather:_initSpeech - channel vars"} 71|jambonz-feature-server | {"level":20,"time":1679650010735,"pid":3506468,"hostname":"ip-172-31-27-212","evt":{"uuid":"bf54e61f-e4ae-467f-ba20-713600027b31","countOfConnections":2,"countOfChannels":3},"msg":"mediaserver 127.0.0.1 removed endpoint"}

vinoddh-kore commented 1 year ago

@xquanluu Let me know if you need any help in troubleshooting this bug also bargin does not work as expected in gather verb. in order get bargin working listenDuringPrompt is used instead to achieve similar behaviour

xquanluu commented 1 year ago

Yes sure @vinoddh-kore I'm on this asap, I will keep you updated.

xquanluu commented 1 year ago

Hi @vinoddh-kore I'm sorry that I cannot reproduce the issue. If I understand you correctly that when you set dtmfBargein":false and interDigitTimeout=2, when caller enter DTMF, the audio is stopped in your case, is it right?

For me I did tested and cannot reproduce. And even I check the log you provided, I dont see that feature server close the audio. because if that event happen, I would expect this log show up: https://github.com/jambonz/jambonz-feature-server/blob/main/lib/tasks/gather.js#L528

This is my jambonz json and it's working as my expectation, the audio still play even I press DTMF: [ { "verb": "pause", "length": 1.5 }, { "verb": "gather", "actionHook": "https://webhook.site/ebfa4001-99ec-4b60-bce4-14677780511d", "input": [ "digits" ], "bargein": true, "dtmfBargein": false, "minDigits": 1, "interDigitTimeout": 2, "numDigits": 5, "finishOnKey": "#", "say": { "text": "\n<prosody volume=\"loud\">Hi there, and welcome to jambones! \njambones is the <sub alias=\"seapass\">CPaaS designed with the needs\nof communication service providers in mind.\nThis is an example of simple text-to-speech, but there is so much more you can do.\nTry us out!\n" } } ]

vinoddh-kore commented 1 year ago

Hi @xquanluu

What version are you using ? i am using v0.7.8

vinoddh-kore commented 1 year ago

Let me try and upgrade the version

vinoddh-kore commented 1 year ago

@xquanluu what i notice that if first gather has dtmfBargin=true and second gather has dtmfBargin=false, then for second gather prompt gets interrupted after pressing DTMF , which should not happen

try below

.gather({

"actionHook": "/actions/hooks", "input": [ "digits", "speech" ], "interDigitTimeout": 2, "minDigits": 1, "finishOnKey": "#", "numDigits": 12, "say": { "text": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum" }, "bargein": true, "timeout": 10, "dtmfBargein": true, })

.gather({

"actionHook": "/actions/hooks", "input": [ "digits", "speech" ], "interDigitTimeout": 2, "minDigits": 1, "finishOnKey": "#", "numDigits": 12, "say": { "text": "Search For Writing Paragraph In English at Getspeedyresults.com. Find Writing Paragraph In English. Now with us! Make Things Easy. Connect Here. Unbeatable Value. Connect on any device. Results in seconds. Try It Free. Quality tested. More value than ever. Real-Time Data." }, "bargein": false, "timeout": 10, "dtmfBargein": false, })

xquanluu commented 1 year ago

Hi @vinoddh-kore

Firstly the interDigitTimeout = 2 seconds which is too short that may cause Gather timeout kick off and drop the call.

Seconds, I have use your suggestion 2 gather with 1st gather dtmfBargein= true, 2nd gather has dtmfBargein=false, but everything is still working fine from my call test.

vinoddh-kore commented 1 year ago

@xquanluu ill share the logs of my Test , which will help to identify the issue, I have tested this on 0.8 version using twilio

vdharashive commented 1 year ago

@xquanluu thanks for fixing this issue