I have managed to get almost everything related to fax working. Here is my setup:
- All trunks are SIP.
- Running Asterisk 1.4.1, Spandsp 0.03 snapshot dated Dec 6,2006.
- Latest rxfax and txfax apps from soft-switch.
The receiving faxes are working with no issues. On the sending faxes front, I have created a PHP script, that checks a mailbox, gets its attachment and subject line, converts the attachment to proper format for txfax and creates a call file similar to:
SetVar: LOCALHEADERINFO=My Company
Now while this works fine, there is of course no delivery receipt.
I have been playing with the dialplan, so that instead of calling txfax application from call file, I can call an extension, and then capture the txfax exit code. But so far I had no success.
Has any of you implemented txfax with a receipt? Any pointers?