* Fix the issue for outbound calls that always the None credentials were used. session:new for rest dial did not contain recognizer.label and synthesizer.label
* update comment
---------
Co-authored-by: mfrindt <m.frindt@cognigy.com>
* feature server should send USER call to the sbc sip that is connect with the user
* feature server should send USER call to the sbc sip that is connect with the user
* feature server should send USER call to the sbc sip that is connect with the user
* fix review comment
* add env variable to enable the feature
* add env variable to enable the feature
* add env variable to enable the feature
* minor test update
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
* Add a custom sanitization function for the tag property in create call body
* remove tag.* property from schema
* do not escape URLs but validate them
* apply suggestions from PR review
---------
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
* Add schema for create-call, validate app_json via verb-specifications
* trigger new build
---------
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
* generate trace id before outdial so we can include it in custom header
* logging
* logging
* fix#420 race condition on rest outdial when ws is used
* revert unnecessary logging change
* add methods to lookupTrunkbyPhone
* change the object name
* fix typo in readme
* export method with return
* add checks to dial verb
* sans extra spaces
* change the variable name for lookup
* add b3 header for trace propagation on initial webhook
* logging
* add tracing context to all webhooks
* Add span parameter to Task.getTracingPropagation. Pass proper span to getTracingPropagation calls in Task methods to propagate the proper spanId (#91)
* some tracing cleanup
* bugfix: azure stt results need to be ordered by confidence level before processing (#92)
* fix assertion
* bugfix: vad was not enabled on config verb, restart STT on empty transcript in gather
* gather: dont send webhook if call is gone
* rest outdial: handle 302 redirect so we can later cancel request if needed (#95)
* gather: restart if we get an empty transcript (looking at you, Azure)
Co-authored-by: javibookline <98887695+javibookline@users.noreply.github.com>
* 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