Send a Fax

  • 2
  • Question
  • Updated 3 years ago
Could someone please describe me in SIMPLE language how to SEND a fax with Kazoo?
and is there a way to a fax via the web
Photo of Tuly

Tuly

  • 111 Posts
  • 9 Reply Likes

Posted 3 years ago

  • 2
Photo of Tim Desmarais

Tim Desmarais

  • 5 Posts
  • 3 Reply Likes
Tuly,

When you have a faxbox assigned to a user or to the Main Faxbox number in smartpbx you open your favorite email client or email website and send the fax to this address

Destination@platformdomain.com

EX. 9498675309@tuly.phoneservicemagic.com

Ensure the message is below 10 MB and is in PDF or TIFF form.
Photo of Darren Schreiber

Darren Schreiber, Official Rep

  • 573 Posts
  • 144 Reply Likes
For doing it via a web program, you'd have to create a web script (short). See this example:

https://github.com/2600hz/kazoo/blob/master/applications/crossbar/doc/faxes.md

Specifically, you can create two dummy files - a JSON file with the data about who to send the fax to, and then the TIFF or PDF itself.

From the page:

"you can use a single PUT request and send a multipart content-type to attach both the JSON metadata about the fax transmission and the document itself, in a single request. This avoids needing to have an external storage location for storing fax attachments prior to processing. This is a good solution for portals that upload documents.
curl -v -X PUT \     -H "Content-Type: multipart/mixed" \     -F "content=@fax.json; type=application/json" \     -F "content=@fax.pdf; type=application/pdf" \     -H 'X-Auth-Token: {AUTH_TOKEN}' \ 

     http://{SERVER}:8000/v2/accounts/{ACCOUNT_ID}/faxes"