Skip to content

Instantly share code, notes, and snippets.

@davehorton
davehorton / payloads.log
Created September 19, 2024 11:39
comparison of AWS payload for transcripts using websocket api vs grpc api
AWS Websocket api
Partial:
{
"Transcript": {
"Results": [
{
"Alternatives": [
{
@davehorton
davehorton / outbound.json
Last active August 12, 2024 13:12
outbound Node-red callflow with teams integration
[
{
"id": "f317b3b0211b1ead",
"type": "group",
"z": "bbf6447fcb998d1d",
"name": "MS Teams Outbound",
"style": {
"label": true
},
"nodes": [
@davehorton
davehorton / inbound.json
Last active August 12, 2024 13:11
inbound node-red application with teams integration
[
{
"id": "78a1de2a7f51f760",
"type": "tab",
"label": "MS Teams Inbound",
"disabled": false,
"info": "",
"env": []
},
{
@davehorton
davehorton / lws.log
Last active July 16, 2024 19:32
lws log with LWS_CALLBACK_WS_CLIENT_DROP_PROTOCOL
2024-07-16 19:11:32.566394 98.67% [NOTICE] lws_glue.cpp:507 [2024/07/16 19:11:32:6048] N: lws_create_context: LWS: 4.3.3-v4.3.3, NET CLI SRV H1 H2 WS ConMon IPv6-absent
2024-07-16 19:11:32.566394 98.67% [INFO] lws_glue.cpp:507 [2024/07/16 19:11:32:6048] I: lws_create_context: Event loop: poll
2024-07-16 19:11:32.566394 98.67% [DEBUG] lws_glue.cpp:507 [2024/07/16 19:11:32:6049] D: _realloc: size 64: lws_smd_register
2024-07-16 19:11:32.566394 98.67% [INFO] lws_glue.cpp:507 [2024/07/16 19:11:32:6049] I: lws_smd_register: peer 0x7fee9c00ae40 (count 1) registered
2024-07-16 19:11:32.566394 98.67% [DEBUG] lws_glue.cpp:507 [2024/07/16 19:11:32:6049] D: _realloc: size 7999992: fds table
@davehorton
davehorton / jambonz-mini.yaml
Created December 14, 2023 20:39
CF for deploying jambonz 0.8.5-8
AWSTemplateFormatVersion: 2010-09-09
Parameters:
InstanceType:
Description: jambonzMini EC2 instance type
Type: String
Default: t2.medium
AllowedValues:
- t2.small
- t2.medium
@davehorton
davehorton / gist:435a69bc41495eb9069edd4aa1ebcce2
Created September 27, 2023 19:00
packages installed on RHEL by dnf groupinstall 'Development Tools'
Dependencies resolved.
======================================================================================================================================================================================================================
Package Architecture Version Repository Size
======================================================================================================================================================================================================================
Installing group/module packages:
asciidoc noarch 9.1.0-3.el9 rhel-9-appstream-rhui-rpms 265 k
byacc x86_64 2.0.20210109-4
@davehorton
davehorton / gist:cffea36e1b71b2613ba6c214ecdccb2f
Created August 30, 2023 18:05
dial timeout exceeded but dial status in actionhook returns 183
callSid: "3d619273-e9d8-40e0-8df5-cf06a84714c3"
accountSid: "d6e9e0b3-9a29-4362-8a5f-b2419223a46f"
callingNumber: "anonymous"
calledNumber: "+441303763875"
traceId: "2206bb5c597d6759f461071e35db8b31"
[17:54:48.696] ^[[32mINFO^[[39m (1204744): ^[[36mCallSession:exec completed task #0:5: hangup^[[39m
callId: "222f9f02-c201-123c-9193-0e9252b57157"
callSid: "3d619273-e9d8-40e0-8df5-cf06a84714c3"
accountSid: "d6e9e0b3-9a29-4362-8a5f-b2419223a46f"
callingNumber: "anonymous"
@davehorton
davehorton / models.json
Last active October 11, 2023 19:52
elevenlabs models
[
{
"model_id": "eleven_multilingual_v2",
"name": "Eleven Multilingual v2",
"can_be_finetuned": true,
"can_do_text_to_speech": true,
"can_do_voice_conversion": true,
"can_use_style": true,
"can_use_speaker_boost": true,
"serves_pro_voices": false,
@davehorton
davehorton / voices.json
Last active October 11, 2023 19:55
elevenlab voices
{
"voices": [
{
"voice_id": "21m00Tcm4TlvDq8ikWAM",
"name": "Rachel",
"samples": null,
"category": "premade",
"fine_tuning": {
"language": null,
"is_allowed_to_fine_tune": false,
$ docker build -t drachtio/drachtio-server:test .
[+] Building 30.4s (13/15)
=> [internal] load .dockerignore 0.0s
=> => transferring context: 113B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.26kB 0.0s
=> [internal] load metadata for docker.io/library/debian:bookworm-slim