This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "level": 30, | |
| "time": "2023-06-26T11:06:52.080Z", | |
| "pid": 896066, | |
| "hostname": "ip-10-0-214-82", | |
| "obj": { | |
| "data": [{ | |
| "traceID": "979f2c6ea8f04f270df888652d134510", | |
| "spans": [{ | |
| "traceID": "979f2c6ea8f04f270df888652d134510", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "level": 30, | |
| "time": "2023-06-26T11:08:33.161Z", | |
| "pid": 896175, | |
| "hostname": "ip-10-0-214-82", | |
| "obj": { | |
| "result": { | |
| "resourceSpans": [{ | |
| "resource": { | |
| "attributes": [{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > [email protected] start | |
| > node index.js | |
| [252 ms] Received: {"result":null} | |
| [257 ms] Received: {"result":null} | |
| [257 ms] Received: {"result":null} | |
| [257 ms] Received: {"result":null} | |
| [257 ms] Received: {"result":null} | |
| [258 ms] Received: {"result":null} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** initial incoming INVITE | |
| 2023-04-13 01:38:28.348836 recv 2766 bytes from wss/[14.226.234.176]:38262 at 01:38:28.348251: | |
| INVITE sip:[email protected] SIP/2.0 | |
| Via: SIP/2.0/WSS h0o5l0z436xc.invalid;branch=z9hG4bK143787 | |
| Max-Forwards: 69 | |
| To: <sip:[email protected]> | |
| From: "Support 2" <sip:[email protected]>;tag=jhejii8snp | |
| Call-ID: 7k1fvm5etfipnostv38j | |
| CSeq: 6577 INVITE |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Apr 13 01:38:28 ip-10-0-214-82 rtpengine[1823136]: INFO: [7k1fvm5etfipnostv38j]: [control] Received command 'offer' from 127.0.0.1:7000 | |
| Apr 13 01:38:28 ip-10-0-214-82 rtpengine[1823136]: DEBUG: [7k1fvm5etfipnostv38j]: [control] Dump for 'offer' from 127.0.0.1:7000: { "DTLS": "off", "ICE": "remove", "SDES": "off", "call-id": "7k1fvm5etfipnostv38j", "command": "offer", "direction": [ "public", "private" ], "flags": [ "media handover", "port latching", "inject DTMF" ], "from-tag": "jhejii8snp", "record call": "no", "replace": [ "origin", "session-connection" ], "rtcp-mux": [ "accept" ], "sdp": "v=0#015#012o=- 1522571160374005432 2 IN IP4 127.0.0.1#015#012s=-#015#012t=0 0#015#012a=group:BUNDLE 0#015#012a=extmap-allow-mixed#015#012a=msid-semantic: W ... | |
| Apr 13 01:38:28 ip-10-0-214-82 rtpengine[1823136]: DEBUG: [7k1fvm5etfipnostv38j]: ... MS e0f2774c-65ab-4cae-90ed-3b0235395c4d#015#012m=audio 59099 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126#015#012c=IN IP4 14.226.234.176#015#012a=rtcp:9 IN IP4 0.0.0.0#015#012a=candi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ==196252== Mismatched free() / delete / delete [] | |
| ==196252== at 0x48399AB: free (vg_replace_malloc.c:538) | |
| ==196252== by 0x4FF08D2: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) | |
| ==196252== by 0x4FF1E7A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) | |
| ==196252== by 0x4CE6519: MallocExtension::Initialize() (in /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4.5.6) | |
| ==196252== by 0x4CD0362: ??? (in /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4.5.6) | |
| ==196252== by 0x400FFE1: call_init.part.0 (dl-init.c:72) | |
| ==196252== by 0x40100E8: call_init (dl-init.c:30) | |
| ==196252== by 0x40100E8: _dl_init (dl-init.c:119) | |
| ==196252== by 0x40010C9: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ==195511== Mismatched free() / delete / delete [] | |
| ==195511== at 0x48399AB: free (vg_replace_malloc.c:538) | |
| ==195511== by 0x4FF08D2: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) | |
| ==195511== by 0x4FF1E7A: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) | |
| ==195511== by 0x4CE6519: MallocExtension::Initialize() (in /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4.5.6) | |
| ==195511== by 0x4CD0362: ??? (in /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4.5.6) | |
| ==195511== by 0x400FFE1: call_init.part.0 (dl-init.c:72) | |
| ==195511== by 0x40100E8: call_init (dl-init.c:30) | |
| ==195511== by 0x40100E8: _dl_init (dl-init.c:119) | |
| ==195511== by 0x40010C9: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # more /etc/nginx/sites-available/default | |
| server { | |
| server_name jambonz.net; | |
| location /api/ { | |
| rewrite ^/api/(.*)$ /$1 break; | |
| proxy_pass http://localhost:3002; | |
| proxy_set_header Host $host; | |
| } | |
| location / { | |
| proxy_pass http://localhost:3001; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{ | |
| "gender": "female", | |
| "supported_features": { | |
| "custom_pronunciation": true, | |
| "voice_transformation": false | |
| }, | |
| "name": "es-US_SofiaV3Voice", | |
| "customizable": true, | |
| "description": "Sofia: North American Spanish (español norteamericano) female voice. Dnn technology.", | |
| "language": "es-US", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const router = require('express').Router(); | |
| const WebhookResponse = require('@jambonz/node-client').WebhookResponse; | |
| const axios = require('axios'); | |
| router.post('/', (req, res) => { | |
| const {logger} = req.app.locals; | |
| const {call_sid} = req.body; | |
| logger.debug({payload: req.body, call_sid}, 'POST /agent-assist'); | |
| try { | |
| const app = new WebhookResponse(); |