drachtio / drachtio-fsmrf

Drachtio freeswitch-based media resource function -- http://davehorton.github.io/drachtio-fsmrf
MIT License
48 stars 27 forks source link

newly added custom speech vendors in jambonz throw an error in gather #87

Open vasudevan-Kore opened 11 months ago

vasudevan-Kore commented 11 months ago

newly added custom speech vendors in jambonz throw an error in gather throw the follow error on recent version upgrade

4|jambonz-feature-server | TypeError: Cannot read properties of null (reading 'toString') 4|jambonz-feature-server | at hasSpecialChar (/home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1850:33) 4|jambonz-feature-server | at /home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1854:72 4|jambonz-feature-server | at Array.filter () 4|jambonz-feature-server | at __x (/home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1854:49) 4|jambonz-feature-server | at /home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1881:5 4|jambonz-feature-server | at new Promise () 4|jambonz-feature-server | at setOrExport (/home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1880:10) 4|jambonz-feature-server | at Endpoint.set (/home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:184:40) 4|jambonz-feature-server | at TaskGather._setSpeechHandlers (/home/admin/apps/jambonz-feature-server/lib/tasks/gather.js:445:14) 4|jambonz-feature-server | at TaskGather.exec (/home/admin/apps/jambonz-feature-server/lib/tasks/gather.js:217:20)

davehorton commented 11 months ago

can you provide the jambonz log leading up to this point? Probably the last 10 lines or so should be fine

vasudevan-Kore commented 11 months ago

{"level":30,"time":1702905327142,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","app":{"application_sid":"14be1e32-28c6-4356-9e89-a0047323b9cb","name":"st-3ed8d64d-41c2-51c8-aa01-dd9e64155544","service_provider_sid":null,"account_sid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","call_hook_sid":"0284d6ea-f539-49ce-a6d3-c105464a7a84","call_status_hook_sid":"02118b53-2563-464e-8260-1946bf6c6b37","messaging_hook_sid":null,"speech_synthesis_vendor":"microsoft","speech_synthesis_language":"en-AU","speech_synthesis_voice":"en-AU-NatashaNeural","speech_recognizer_vendor":"custom:gnani","speech_recognizer_language":"en-US","created_at":"2023-12-13T12:04:27.000Z","app_json":null,"record_all_calls":0,"speech_synthesis_label":null,"speech_recognizer_label":null,"use_for_fallback_speech":0,"fallback_speech_synthesis_vendor":null,"fallback_speech_synthesis_language":null,"fallback_speech_synthesis_voice":null,"fallback_speech_synthesis_label":null,"fallback_speech_recognizer_vendor":null,"fallback_speech_recognizer_language":null,"fallback_speech_recognizer_label":null},"msg":"retrieved application for incoming call to 13528350474"} 3|jambonz-feature-server | {"level":20,"time":1702905327142,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","params":{"sip":{"headers":{"via":"SIP/2.0/UDP ipadressfs1;rport=5060;branch=z9hG4bKraQNeyZDgygFN;received=172.31.10.85","max-forwards":"70","from":"sip:anonymous@ipadressfs1;tag=j796t0QNvmQ1g","to":"sip:+13528350474@test-sbc-np.test.ai","call-id":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","cseq":"76898871 INVITE","contact":"","user-agent":"Mediant SW (default)/v.7.40A.260.837","allow":"INVITE, ACK, CANCEL, BYE, REFER, NOTIFY, OPTIONS","supported":"sdp-anat","content-type":"application/sdp","content-length":"456","X-Account-Sid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","X-CID":"743a9a04256321066835b9c3884e9209@0.0.0.0","X-Forwarded-For":"50.19.121.248","X-Originating-Carrier":"testUATTRUNK","X-Voip-Carrier-Sid":"4b3b48b7-4c94-4db2-b4f9-fe7f2bde67af","X-Application-Sid":"14be1e32-28c6-4356-9e89-a0047323b9cb","X-Twilio-VerStat":"TN-Validation-Passed-A","X-Twilio-AccountSid":"ACc518be9a6f916431ecfd8d7d9f471b2e","X-Twilio-CallSid":"CAaed2a1f962f32d42434b13f483d19b88","x-audc-call-id":"743a9a04256321066835b9c3884e9209","X-audc-to-header":"sip:+13528350474@test-sbc-np.test.ai","p-asserted-identity":"sip:+16176754444@ph-YvORifOH-225"},"raw":"INVITE sip:+13528350474@test-sbc-np.test.ai SIP/2.0\r\nVia: SIP/2.0/UDP ipadressfs1;rport=5060;branch=z9hG4bKraQNeyZDgygFN;received=172.31.10.85\r\nMax-Forwards: 70\r\nFrom: sip:anonymous@ipadressfs1;tag=j796t0QNvmQ1g\r\nTo: sip:+13528350474@test-sbc-np.test.ai\r\nCall-ID: 59f8e8e9-184a-123d-05a6-0eb94b3c8831\r\nCSeq: 76898871 INVITE\r\nContact: \r\nUser-Agent: Mediant SW (default)/v.7.40A.260.837\r\nAllow: INVITE, ACK, CANCEL, BYE, REFER, NOTIFY, OPTIONS\r\nSupported: sdp-anat\r\nContent-Type: application/sdp\r\nContent-Length: 456\r\nX-Account-Sid: c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2\r\nX-CID: 743a9a04256321066835b9c3884e9209@0.0.0.0\r\nX-Forwarded-For: 50.19.121.248\r\nX-Originating-Carrier: testUATTRUNK\r\nX-Voip-Carrier-Sid: 4b3b48b7-4c94-4db2-b4f9-fe7f2bde67af\r\nX-Application-Sid: 14be1e32-28c6-4356-9e89-a0047323b9cb\r\nX-Twilio-VerStat: TN-Validation-Passed-A\r\nX-Twilio-AccountSid: ACc518be9a6f916431ecfd8d7d9f471b2e\r\nX-Twilio-CallSid: CAaed2a1f962f32d42434b13f483d19b88\r\nx-audc-call-id: 743a9a04256321066835b9c3884e9209\r\nX-audc-to-header: sip:+13528350474@test-sbc-np.test.ai\r\nP-Asserted-Identity: sip:+16176754444@ph-YvORifOH-225\r\n\r\nv=0\r\no=root 1298209155 1384352397 IN IP4 ipadressfs2\r\ns=Twilio Media Gateway\r\nc=IN IP4 ipadressfs2\r\nt=0 0\r\nm=audio 40262 RTP/AVP 0 8 111 18 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:18 G729/8000\r\na=fmtp:18 annexb=no\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40263\r\na=ptime:20\r\n","body":"v=0\r\no=root 1298209155 1384352397 IN IP4 ipadressfs2\r\ns=Twilio Media Gateway\r\nc=IN IP4 ipadressfs2\r\nt=0 0\r\nm=audio 40262 RTP/AVP 0 8 111 18 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:18 G729/8000\r\na=fmtp:18 annexb=no\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40263\r\na=ptime:20\r\n","method":"INVITE","version":"2.0","uri":"sip:+13528350474@test-sbc-np.test.ai","payload":[{"type":"application/sdp","content":"v=0\r\no=root 1298209155 1384352397 IN IP4 ipadressfs2\r\ns=Twilio Media Gateway\r\nc=IN IP4 ipadressfs2\r\nt=0 0\r\nm=audio 40262 RTP/AVP 0 8 111 18 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:18 G729/8000\r\na=fmtp:18 annexb=no\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40263\r\na=ptime:20\r\n"}]},"direction":"inbound","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","callerName":"","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","applicationSid":"14be1e32-28c6-4356-9e89-a0047323b9cb","from":"anonymous","to":"+13528350474","callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","sipStatus":100,"sipReason":"Trying","callStatus":"trying","originatingSipIp":"50.19.121.248","originatingSipTrunkName":"testUATTRUNK","localSipAddress":"172.31.10.207:5060","service_provider_sid":"4bdf9ce1-d312-4d71-8bbf-95da7bcb7e48","defaults":{"synthesizer":{"vendor":"microsoft","language":"en-AU","voice":"en-AU-NatashaNeural"},"recognizer":{"vendor":"custom:gnani","language":"en-US"}}},"msg":"sending initial webhook"} 3|jambonz-feature-server | {"level":20,"time":1702905327142,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","msg":"WsRequestor:request(fJsMgT8FHqWXJRPEGHPmTn) - connecting since we do not have a connection for session:new"} 3|jambonz-feature-server | {"level":30,"time":1702905327155,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","url":"wss://uat-test.test.ai/korevg/bot?botid=st-3ed8d64d-41c2-51c8-aa01-dd9e64155544&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBJZCI6ImNzLTRlMjE3MDlmLTRlYTgtNTdkNy05NWFhLWFlYTBhMDEzZjU3ZiJ9.9ULA2izm6AYfs6e2TkDnmrZgfAt_quxbDnoo_WDsirI","msg":"WsRequestor(fJsMgT8FHqWXJRPEGHPmTn) - successfully connected"} 3|jambonz-feature-server | {"level":20,"time":1702905327155,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","obj":{"type":"session:new","msgid":"cMDDK7gsW7NBgAa7sEDwJP","call_sid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","data":{"sip":{"headers":{"via":"SIP/2.0/UDP ipadressfs1;rport=5060;branch=z9hG4bKraQNeyZDgygFN;received=172.31.10.85","max-forwards":"70","from":"sip:anonymous@ipadressfs1;tag=j796t0QNvmQ1g","to":"sip:+13528350474@test-sbc-np.test.ai","call-id":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","cseq":"76898871 INVITE","contact":"","user-agent":"Mediant SW (default)/v.7.40A.260.837","allow":"INVITE, ACK, CANCEL, BYE, REFER, NOTIFY, OPTIONS","supported":"sdp-anat","content-type":"application/sdp","content-length":"456","X-Account-Sid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","X-CID":"743a9a04256321066835b9c3884e9209@0.0.0.0","X-Forwarded-For":"50.19.121.248","X-Originating-Carrier":"testUATTRUNK","X-Voip-Carrier-Sid":"4b3b48b7-4c94-4db2-b4f9-fe7f2bde67af","X-Application-Sid":"14be1e32-28c6-4356-9e89-a0047323b9cb","X-Twilio-VerStat":"TN-Validation-Passed-A","X-Twilio-AccountSid":"ACc518be9a6f916431ecfd8d7d9f471b2e","X-Twilio-CallSid":"CAaed2a1f962f32d42434b13f483d19b88","x-audc-call-id":"743a9a04256321066835b9c3884e9209","X-audc-to-header":"sip:+13528350474@test-sbc-np.test.ai","p-asserted-identity":"sip:+16176754444@ph-YvORifOH-225"},"raw":"INVITE sip:+13528350474@test-sbc-np.test.ai SIP/2.0\r\nVia: SIP/2.0/UDP ipadressfs1;rport=5060;branch=z9hG4bKraQNeyZDgygFN;received=172.31.10.85\r\nMax-Forwards: 70\r\nFrom: sip:anonymous@ipadressfs1;tag=j796t0QNvmQ1g\r\nTo: sip:+13528350474@test-sbc-np.test.ai\r\nCall-ID: 59f8e8e9-184a-123d-05a6-0eb94b3c8831\r\nCSeq: 76898871 INVITE\r\nContact: \r\nUser-Agent: Mediant SW (default)/v.7.40A.260.837\r\nAllow: INVITE, ACK, CANCEL, BYE, REFER, NOTIFY, OPTIONS\r\nSupported: sdp-anat\r\nContent-Type: application/sdp\r\nContent-Length: 456\r\nX-Account-Sid: c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2\r\nX-CID: 743a9a04256321066835b9c3884e9209@0.0.0.0\r\nX-Forwarded-For: 50.19.121.248\r\nX-Originating-Carrier: testUATTRUNK\r\nX-Voip-Carrier-Sid: 4b3b48b7-4c94-4db2-b4f9-fe7f2bde67af\r\nX-Application-Sid: 14be1e32-28c6-4356-9e89-a0047323b9cb\r\nX-Twilio-VerStat: TN-Validation-Passed-A\r\nX-Twilio-AccountSid: ACc518be9a6f916431ecfd8d7d9f471b2e\r\nX-Twilio-CallSid: CAaed2a1f962f32d42434b13f483d19b88\r\nx-audc-call-id: 743a9a04256321066835b9c3884e9209\r\nX-audc-to-header: sip:+13528350474@test-sbc-np.test.ai\r\nP-Asserted-Identity: sip:+16176754444@ph-YvORifOH-225\r\n\r\nv=0\r\no=root 1298209155 1384352397 IN IP4 ipadressfs2\r\ns=Twilio Media Gateway\r\nc=IN IP4 ipadressfs2\r\nt=0 0\r\nm=audio 40262 RTP/AVP 0 8 111 18 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:18 G729/8000\r\na=fmtp:18 annexb=no\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40263\r\na=ptime:20\r\n","body":"v=0\r\no=root 1298209155 1384352397 IN IP4 ipadressfs2\r\ns=Twilio Media Gateway\r\nc=IN IP4 ipadressfs2\r\nt=0 0\r\nm=audio 40262 RTP/AVP 0 8 111 18 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:18 G729/8000\r\na=fmtp:18 annexb=no\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40263\r\na=ptime:20\r\n","method":"INVITE","version":"2.0","uri":"sip:+13528350474@test-sbc-np.test.ai","payload":[{"type":"application/sdp","content":"v=0\r\no=root 1298209155 1384352397 IN IP4 ipadressfs2\r\ns=Twilio Media Gateway\r\nc=IN IP4 ipadressfs2\r\nt=0 0\r\nm=audio 40262 RTP/AVP 0 8 111 18 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:18 G729/8000\r\na=fmtp:18 annexb=no\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40263\r\na=ptime:20\r\n"}]},"direction":"inbound","trace_id":"885aaa0a40d6f8ea18d385a0b0e25bd1","caller_name":"","call_sid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","account_sid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","application_sid":"14be1e32-28c6-4356-9e89-a0047323b9cb","from":"anonymous","to":"+13528350474","call_id":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","sip_status":100,"sip_reason":"Trying","call_status":"trying","originating_sip_ip":"50.19.121.248","originating_sip_trunk_name":"testUATTRUNK","local_sip_address":"172.31.10.207:5060","service_provider_sid":"4bdf9ce1-d312-4d71-8bbf-95da7bcb7e48","defaults":{"synthesizer":{"vendor":"microsoft","language":"en-AU","voice":"en-AU-NatashaNeural"},"recognizer":{"vendor":"custom:gnani","language":"en-US"}}},"b3":"885aaa0a40d6f8ea18d385a0b0e25bd1-30ad2521bddf129c-1"},"msg":"WsRequestor:request websocket: sent (wss://uat-test.test.ai/korevg/bot?botid=st-3ed8d64d-41c2-51c8-aa01-dd9e64155544&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBJZCI6ImNzLTRlMjE3MDlmLTRlYTgtNTdkNy05NWFhLWFlYTBhMDEzZjU3ZiJ9.9ULA2izm6AYfs6e2TkDnmrZgfAt_quxbDnoo_WDsirI)"} 3|jambonz-feature-server | {"level":20,"time":1702905327157,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","response":[{"verb":"tag","data":{"botId":"st-3ed8d64d-41c2-51c8-aa01-dd9e64155544","state":"new"}},{"verb":"gather","actionHook":"/actions/hooks","input":["digits","speech"],"interDigitTimeout":2,"minDigits":1,"finishOnKey":"#","numDigits":12,"bargein":true,"listenDuringPrompt":true}],"msg":"WsRequestor:request wss://uat-test.test.ai/korevg/bot?botid=st-3ed8d64d-41c2-51c8-aa01-dd9e64155544&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBJZCI6ImNzLTRlMjE3MDlmLTRlYTgtNTdkNy05NWFhLWFlYTBhMDEzZjU3ZiJ9.9ULA2izm6AYfs6e2TkDnmrZgfAt_quxbDnoo_WDsirI succeeded in 2ms"} 3|jambonz-feature-server | {"level":30,"time":1702905327158,"pid":345468,"hostname":"ipadressHost,"msg":"SessionTracker:add callSid b1a640e5-0d43-4250-bba0-19a5d5713e54, we have 3 session being tracked"} 3|jambonz-feature-server | {"level":30,"time":1702905327158,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","tasks":"[tag,gather{inputs=[speech,digits],vendor=default,language=default}]","msg":"CallSession:exec starting 2 tasks"} 3|jambonz-feature-server | {"level":30,"time":1702905327158,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","msg":"CallSession:exec starting task #0:1: tag"} 3|jambonz-feature-server | {"level":20,"time":1702905327159,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","customerData":{"botId":"st-3ed8d64d-41c2-51c8-aa01-dd9e64155544","state":"new"},"msg":"TaskTag:exec set customer data in callInfo"} 3|jambonz-feature-server | {"level":30,"time":1702905327159,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","msg":"CallSession:exec completed task #0:1: tag"} 3|jambonz-feature-server | {"level":30,"time":1702905327159,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","msg":"CallSession:exec starting task #0:2: gather"} 3|jambonz-feature-server | {"level":20,"time":1702905327159,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","obj":{"type":"call:status","msgid":"utgwJVVCaCbG2eHXn2QC79","call_sid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","data":{"call_sid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","direction":"inbound","from":"anonymous","to":"+13528350474","call_id":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","sip_status":100,"sip_reason":"Trying","call_status":"trying","account_sid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","trace_id":"885aaa0a40d6f8ea18d385a0b0e25bd1","application_sid":"14be1e32-28c6-4356-9e89-a0047323b9cb","fs_sip_address":"172.31.10.207:5060","originating_sip_ip":"50.19.121.248","originating_sip_trunk_name":"testUATTRUNK"},"b3":"885aaa0a40d6f8ea18d385a0b0e25bd1-30ad2521bddf129c-1"},"msg":"WsRequestor:request websocket: sent (wss://uat-test.test.ai/korevg/bot?botid=st-3ed8d64d-41c2-51c8-aa01-dd9e64155544&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBJZCI6ImNzLTRlMjE3MDlmLTRlYTgtNTdkNy05NWFhLWFlYTBhMDEzZjU3ZiJ9.9ULA2izm6AYfs6e2TkDnmrZgfAt_quxbDnoo_WDsirI)"} 3|jambonz-feature-server | {"level":20,"time":1702905327166,"pid":345468,"hostname":"ipadressHost,"evt":{"uuid":"3d52ee3a-8bf9-4f09-9943-cdcd6ce54981","countOfConnections":3,"countOfChannels":5},"msg":"mediaserver 127.0.0.1 added endpoint"} 3|jambonz-feature-server | {"level":20,"time":1702905327166,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","msg":"allocated endpoint 3d52ee3a-8bf9-4f09-9943-cdcd6ce54981"} 3|jambonz-feature-server | {"level":20,"time":1702905327166,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","msg":"propogating answer"} 3|jambonz-feature-server | {"level":20,"time":1702905327168,"pid":345468,"hostname":"ipadressHost,"callId":"59f8e8e9-184a-123d-05a6-0eb94b3c8831","callSid":"b1a640e5-0d43-4250-bba0-19a5d5713e54","accountSid":"c8e2ffe2-e6d1-46a7-9a63-1a662bc0dfc2","callingNumber":"+16176754444","calledNumber":"+13528350474","traceId":"885aaa0a40d6f8ea18d385a0b0e25bd1","msg":"answered call"} 3|jambonz-feature-server | TypeError: Cannot read properties of null (reading 'toString') 3|jambonz-feature-server | at hasSpecialChar (/home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1850:33) 3|jambonz-feature-server | at /home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1854:72 3|jambonz-feature-server | at Array.filter () 3|jambonz-feature-server | at __x (/home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1854:49) 3|jambonz-feature-server | at /home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1881:5 3|jambonz-feature-server | at new Promise () 3|jambonz-feature-server | at setOrExport (/home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:1880:10) 3|jambonz-feature-server | at Endpoint.set (/home/admin/apps/jambonz-feature-server/node_modules/drachtio-fsmrf/lib/endpoint.js:184:40) 3|jambonz-feature-server | at TaskGather._setSpeechHandlers (/home/admin/apps/jambonz-feature-server/lib/tasks/gather.js:445:14) 3|jambonz-feature-server | at startListening (/home/admin/apps/jambonz-feature-server/lib/tasks/gather.js:149:22)

vasudevan-Kore commented 11 months ago

Hi @davehorton provided all logs leading upto this