Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
msmhome committed Jan 20, 2025
1 parent 3a6e09e commit 549aec6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ miniFaxServer revolves around the /Faxes directory. Faxes and SMS messages recei
Add your own IP ranges to the .env whitelist. The default entries are for Telnyx's servers and should not be changed. Try host 0.0.0.0 if you encounter problems with whitelist due to cloudflared showing internal IPs.

Endpoints exposed:
* `/telnyx-webhook` The webhook Telnyx will primarily send fax-related messages to
* `/sms` The webhook Telnyx will use for SMS messages
* `/status` Will post a `{"status":"ONLINE"}` for uptime monitoring
* `/telnyx-webhook` The webhook Telnyx will primarily send fax-related messages to.
* `/sms` The webhook Telnyx will use for SMS messages.
* `/status` Will post a `{"status":"ONLINE"}` for uptime monitoring.

#### Fax In
The faxes received will be saved as a PDF in the Faxes directory under the name `Fax_<first_5_chars_telnyx_fax_id>_from_+12015551234_at_<timestamp>.pdf`.

It's recommended to enable the feature to email faxes in the Telnyx web GUI (it's free).
It's recommended to enable the feature to also email faxes in the Telnyx web GUI (it's free).

#### Fax Out
Put any PDF files to be sent out in the Faxes/outbound directory named as the destination phone number, excluding the country code. ie `8885550000.pdf`. This will begin an automatic process to fax that PDF, once delivered, the PDF will be moved to Faxes/outbound\_confirmations as `Fax_<first_5_chars_telnyx_fax_id>_to_+18005001234_at_<timestamp>_confirmed.pdf`.
Put any PDF files to be sent out in the Faxes/outbound directory named as the destination phone number, excluding the country code. ie `8885550000.pdf`. This will begin an automatic process to fax that PDF. Once delivered, the PDF will be moved to Faxes/outbound\_confirmations as `Fax_<first_5_chars_telnyx_fax_id>_to_+18005001234_at_<timestamp>_confirmed.pdf`.

(note for my use I hardcoded the US +1 country code, modify or remove this in the script as necessary)
(Note: for my use I hardcoded the US +1 country code, modify or remove this in the script as necessary)

#### SMS In
SMS must be configured in the Telnyx webui and the webhook must point /sms. Your inbound texts will be saved in the Faxes directory as `SMS_from_+12015550000_at_timestamp.txt`.
Expand Down
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
bleach==6.1.0
fastapi==0.112.0
pydantic==2.8.2
bleach==6.2.0
fastapi==0.115.6
pydantic==2.10.5
python-dotenv==1.0.1
Requests==2.32.3
slowapi==0.1.9
starlette==0.40.0
telnyx==2.1.2
uvicorn==0.30.0
watchdog==4.0.1
Werkzeug==3.0.3
starlette==0.41.3
telnyx==2.1.4
uvicorn==0.34.0
watchdog==6.0.0
Werkzeug==3.0.6
ipaddress==1.0.23

0 comments on commit 549aec6

Please sign in to comment.