Ctrl K
ring2all.com

Send Fax Module Documentation

Table of Contents

  1. Module Overview (Technical)
  2. Module Overview (Commercial/Business)
  3. Module Overview (End User/Administrator)
  4. Sending Process
  5. Supported Formats
  6. Common Scenarios & Examples
  7. Limitations & Important Notes
  8. Troubleshooting Tips
  9. Glossary

---

1. Module Overview (Technical)

What Is Send Fax?

Send Fax is a web-based fax transmission interface that allows users to send documents as faxes through configured fax devices. Documents are uploaded, converted if necessary, and transmitted via FreeSWITCH's fax engine.

Architecture

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│                   Send Fax Architecture                         │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Admin Panel                                                    │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        FaxSendingPage.tsx                                │   │
│  │                                                          │   │
│  │  1. Select fax device                                    │   │
│  │  2. Enter destination number                             │   │
│  │  3. Upload PDF/TIFF document                             │   │
│  │  4. Click "Send Fax"                                     │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│       │                                                         │
│       ▼ API Call                                                │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        Backend Fax API                                   │   │
│  │                                                          │   │
│  │  1. Validate file and device                             │   │
│  │  2. Store document temporarily                           │   │
│  │  3. Convert PDF to TIFF if needed                        │   │
│  │  4. Originate call via FreeSWITCH                        │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│       │                                                         │
│       ▼ FreeSWITCH Originate                                    │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        fax/fax_send.lua                                  │   │
│  │                                                          │   │
│  │  1. Load fax device config from public.fax_devices       │   │
│  │  2. Configure T.38 / ECM settings                        │   │
│  │  3. Connect to destination                               │   │
│  │  4. Transmit fax (txfax)                                 │   │
│  │  5. Send email notification                              │   │
│  │  6. Log to public.fax_logs                               │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│       │                                                         │
│       ▼                                                         │
│  Remote Fax Machine                                             │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Key Tables

TablePurpose
public.fax_devicesDevice configuration
public.fax_logsTransmission logs

Key Files

FileDescription
modules/faxSending/FaxSendingPage.tsxFrontend send interface
modules/faxSending/api/faxSendingApi.tsAPI calls
lua/main/xml_handlers/fax/fax_send.luaTransmission handler
---

2. Module Overview (Commercial/Business)

Business Value

Send Fax provides web-based fax transmission:

Without Send FaxWith Send Fax
Physical fax machineWeb interface
Print documentsUpload PDF
Manual dialingClick to send
No status trackingEmail notifications

Use Cases

  1. Document Transmission
- Send contracts and agreements

- Transmit signed documents

  1. Business Communications
- Send invoices to vendors

- Transmit purchase orders

  1. Healthcare/Legal
- HIPAA-compliant fax

- Court document filing

  1. Remote Work
- Fax from anywhere

- No physical equipment

Feature Highlights

FeatureBenefit
PDF SupportNo conversion needed
TIFF SupportNative fax format
T.38 ProtocolReliable FoIP
Auto-RetryHandle busy lines
NotificationsEmail on success/fail
LoggingFull audit trail
---

3. Module Overview (End User/Administrator)

What Can You Do?

  • Select outbound fax device
  • Enter destination number
  • Upload PDF or TIFF document
  • Send fax with one click
  • Receive email notifications
  • View transmission status

Send Fax Interface

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Send Fax                                           │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Section: Send Fax                                              │
│  ├─ Fax Device: [Main Office Fax ▼]                            │
│  │   Only devices with outbound capability shown                │
│  │                                                              │
│  └─ Destination Number: [+15551234567            ]             │
│      Include country code for international faxes               │
│                                                                 │
│  Section: Document Upload                                       │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │                                                          │   │
│  │         📄 Drop your document here                       │   │
│  │              or click to browse                          │   │
│  │                                                          │   │
│  │         [Browse Files]                                   │   │
│  │                                                          │   │
│  │    Supported formats: PDF, TIFF (max 10 MB)             │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│                                                                 │
│  ℹ️ Important Information:                                      │
│  • Supported formats: PDF and TIFF                              │
│  • Maximum file size: 10 MB                                     │
│  • Email notifications based on device configuration            │
│  • T.38 protocol used if enabled and supported                  │
│                                                                 │
│  [Send Fax] [Cancel]                                            │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Quick Tips

TIP
PDF Format: Upload PDFs directly - they're converted automatically.
TIP
Country Code: Always include country code (e.g., +1) for reliable delivery.
CAUTION
File Size: Maximum 10 MB per document.

---

4. Sending Process

Step-by-Step Flow

  1. Select Device
- Choose outbound-capable fax device

- Device determines caller ID and settings

  1. Enter Destination
- Full phone number with country code

- Example: +15551234567

  1. Upload Document
- Drag and drop or browse

- PDF or TIFF format

  1. Send
- Click "Send Fax"

- System queues transmission

  1. Transmission
- FreeSWITCH originates call

- T.38 negotiation if enabled

- Document transmitted

  1. Notification
- Email sent on success/failure

- Log recorded in database

Retries

SettingDefaultDescription
Max Retries3Total retry attempts
Retry Interval300sSeconds between retries
---

5. Supported Formats

PDF Documents

AspectDetails
FormatPDF 1.0 - 2.0
ConversionAuto-converted to TIFF
PagesMulti-page supported
ColorConverted to B&W

TIFF Documents

AspectDetails
FormatTIFF (Group 3/4 fax)
NativeNo conversion needed
PagesMulti-page supported
CompressionG3/G4 fax compression

Size Limits

LimitValue
Max File Size10 MB
Max PagesDepends on document
---

6. Common Scenarios & Examples

Scenario 1: Send Contract

  1. Select fax device: "Sales Fax"
  2. Destination: +14155551234
  3. Upload: contract.pdf
  4. Click "Send Fax"
  5. Receive success email

Scenario 2: International Fax

  1. Select fax device: "International Fax"
  2. Destination: +442071234567 (UK)
  3. Upload: invoice.pdf
  4. Send and wait for confirmation

Scenario 3: Multi-Page Document

  1. Upload multi-page PDF
  2. System converts all pages
  3. Transmits as single fax
  4. Pages sent sequentially

---

7. Limitations & Important Notes

Technical Notes

NOTE
Outbound Only: This module is for sending only. See Fax Devices for receiving.
NOTE
Device Required: Must have fax device with outbound direction enabled.
WARNING
Carrier Support: Remote carrier must support fax protocol.

Best Practices

  1. Use T.38: Enable on device for reliability
  2. Include Country Code: Always use full E.164 format
  3. Check File Size: Stay under 10 MB limit
  4. Verify Device: Ensure device is enabled
  5. Monitor Logs: Check fax viewer for status

---

8. Troubleshooting Tips

Common Issues

SymptomPossible CauseSolution
No devices shownNo outbound devicesCreate device with outbound direction
Send failsFile too largeReduce file size
Invalid formatWrong file typeUse PDF or TIFF
Transmission failsRemote busyRetries will occur
No notificationEmail not configuredSet email_to on device

Validation Errors

ErrorMeaning
deviceRequiredSelect a fax device
destinationRequiredEnter destination number
fileRequiredUpload a document
invalidFileTypeOnly PDF/TIFF allowed
fileTooLargeFile exceeds 10 MB

Check Recent Transmissions

Sql
SELECT 
  direction, remote_number, pages, 
  success, result_text, created_at
FROM public.fax_logs
WHERE direction = 'outbound'
  AND domain_id = [domain_id]
ORDER BY created_at DESC
LIMIT 10;

---

9. Glossary

TermDefinition
txfaxFreeSWITCH transmit fax
T.38Fax over IP protocol
ECMError Correction Mode
TIFFTagged Image File Format
E.164International phone format
OriginateFreeSWITCH call initiation
---

Lua Script Status ✅

Already Correct

ScriptStatus
fax/fax_send.lua✅ Uses public.fax_devices, public.fax_logs
No Lua fixes needed!

---

Documentation last updated: January 2026
AI Assistant

👋 Hello! I'm your Ring2All documentation assistant. I can help you find information about configuring and using the Ring2All PBX platform.

How can I help you today?