No description
Find a file
edschuy95 ebad7487b3 Update routes/threecx.py
Lowered the upgrade threshold to 158 characters.  I've seen some fringe cases where 159 or 160 still gets bounced.  Probably due to some byte count / character count mismatch when using emojis.
2025-11-13 00:35:20 +00:00
routes Update routes/threecx.py 2025-11-13 00:35:20 +00:00
.dockerignore Switched to static config embedded in python code to environment based variables. 2025-07-17 00:04:49 -04:00
.env.template Switched to static config embedded in python code to environment based variables. 2025-07-17 00:04:49 -04:00
.gitattributes Add project files. 2025-07-13 22:10:11 -04:00
.gitignore cleanup 2025-07-17 00:09:02 -04:00
app.py Added 3cx sms-mms upgrader. 2025-07-15 07:32:47 -04:00
config.py Switched to static config embedded in python code to environment based variables. 2025-07-17 00:04:49 -04:00
docker-compose.yml Switched to static config embedded in python code to environment based variables. 2025-07-17 00:04:49 -04:00
Dockerfile Assuming more available cores for gunicorn. Updated readme. 2025-07-14 00:00:26 -04:00
README.md Update README.md 2025-11-13 00:30:47 +00:00
requirements.txt Switched to static config embedded in python code to environment based variables. 2025-07-17 00:04:49 -04:00
webhook-proxy.pyproj Switched to static config embedded in python code to environment based variables. 2025-07-17 00:04:49 -04:00
webhook-proxy.sln Add project files. 2025-07-13 22:10:11 -04:00

USE AT YOUR OWN RISK! I ACCEPT NO RESPONSIBILITY FOR YOUR LACK OF RESPONSIBILITY! Make backups, or better yet, don't use this! I can confidently say it works for me, but I have no idea if it'll work for you. You have been warned.

Git clone https://sources.gtsvr.net/edschuy95/yeastar-voipms-webhook-proxy.git

For docker or bare OS copy .env.template.py to .env and edit

Docker/compose docker-compose up -d --build

Bare OS pip install requirements or apt install components (requirements.txt) launch app with gunicorn prepare as a systemd service (todo: add template or helper script)


Yeastar stuff:

In the API key section for the SMS channel, enter your voip.ms API credentials separated by ||| like so:

api_username|||api_password

Voip.ms stuff:

Just point voip.ms DIDS to the /{ENDPOINT_OBSCURITY}/voipms-inbound endpoint.