<fax>

Role: <fax> keyword allow you to receive efax on the number. Once the fax is received, and action url is passed in the attributes we will send the link to pdf file where you can download the file at any time.

Use:

  • eFax – You can build an efax application. Our system will receive the fax and send you the link to the url defined in action attribute. You can download the file and email to end user.

While there are no limitation on where <fax> can be used, there definitely is optional set of attributes to use with <fax>. Below is a list of attributes to be used with <fax>, each attribute has a specific function and can use certain values.

Attributes

Here is an example of how <fax> is used within code.

<?xml version="1.0" encoding="UTF-8"?> 
<Response>
       <fax/>
 </Response>

If the action url is passed, system will receive the fax and send the link to the url.

<?xml version="1.0" encoding="UTF-8"?> 
<Response>
       <fax action="handlefax.php" method=post/>
 </Response>

We also send other details about the fax in the url defined in action attribute. We will post the fax file location and other details in the post/get method.

“faxurl=Path do download the pdf file for the received fax. “callid=UUID “dialednumber=Dialed Number “callerid=callerid “faxstatus=Complete|incomplete|failed “numofpages= Total number of pages “Received= Number of pages received”

example get method

www.example.com/faxhandle.php?faxurl=”didforsale.com/downloads/accountid/uuid.pdf”&callid=”8787hsgsh-aask9qwh-hsgd”&dialednumber=9499300360&callerid=9499300361&faxstatus=complete&numofpages=10&received=10

Last updated