<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
Attribute |
Value |
Default |
action | Callback URL | none |
Method | POST/GET | POST |
Here is an example of how <fax> is used within code.
1 2 3 4 |
<?xml version="1.0" encoding="UTF-8"?> <Response> <fax/> </Response> |
1 2 3 4 |
<?xml version="1.0" encoding="UTF-8"?> <Response> <fax action="handlefax.php" method=post/> </Response> |
“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