* initial adds for otel tracing
* initial basic testing
* basic tracing for incoming calls
* linting
* add traceId to the webhook params
* trace webhook calls
* tracing: add new commands as tags when receiving async commands over websocket
* tracing new commands
* add summary for config verb
* trace async commands
* bugfix: undefined ref
* tracing: give time for final webhooks before closing root span
* tracing bugfix: span for background gather was not ended
* tracing - minor tag changes
* tracing - add span atttribute for reason call ended
* trace call status webhooks, add app version to trace output
* config: add support for automatically re-enabling
* env var to customize service name in tracing UI
* config: change to use 'sticky' attribute to re-enable bargein automatically
* fix warnings
* when adulting create a new root span
* when background gather triggers bargein via vad clear queue of tasks
* additional trace attributes for dial and refer
* fix dial tracing
* add better summary for dial
* fix prev commit
* add exponential backoff to WsRequestor reconnection logic
* add calling number to log metadata, as this will be frequently the key data given for troubleshooting
* add accountSid to log metadata
* make handshake timeout for ws connections configurable with default 1.5 secs
* rename env var
* fix bug prev checkin
* logging fixes
* consistent env naming
* remove cognigy verb
* initial implementation of config verb
* further updates to config
* Bot mode alex (#75)
* do not use default as value for TTS/STT
* fix gather listener if no say or play provided
Co-authored-by: akirilyuk <a.kirilyuk@cognigy.com>
* gather: listenDuringPrompt requires a nested play/say
* fix exception
* say: fix exception where caller hangs up during say
* bugfix: sip refer was not ending if caller hungup during refer
* add support for sip:request to ws commands
* gather: when bargein is set and minBargeinWordCount is zero, kill audio on endOfUtterrance
* gather/transcribe: add support for google boost and azure custom endpoints
* minor logging changes
* lint error
Co-authored-by: akirilyuk <45361199+akirilyuk@users.noreply.github.com>
Co-authored-by: akirilyuk <a.kirilyuk@cognigy.com>
* add bargein support to gather
* bugfix: gather handles interim results from azure
* gather: support for min/max digits and interdigit timeout
* add task summary to some log messages
* logging improvements