SUBSCRIBE TO TMCnet
TMCnet - World's Largest Communications and Technology Community

CHANNEL BY TOPICS


QUICK LINKS




DIDX and Comtel Networks Prepare Case Study for Fax DID Demonstration at ITEXPO

TMCnews


TMCnews Featured Article


September 02, 2009

DIDX and Comtel Networks Prepare Case Study for Fax DID Demonstration at ITEXPO

By Tim Gray, TMCnet Web Editor


DIDX and Comtel Networks are showcasing the ability to send and receive fax over Internet via DID, open source software and PBX (News - Alert) at ITEXPO West 2009.

 
DIDX is exhibiting at ITEXPO from Sept. 1 to Sept. 3 in the Los Angeles Convention Center in booth #125. The event is slated to provide an overall educational program that teaches resellers, enterprises, SMBs, and Government Agencies how to select IP-based voice, video, fax, and unified communications to purchase or resell.
 
According to the companies, the case study – which took place from July 30 through Aug. 12 of this year – uses T.38 protocol and DID from DIDX wholesale phone number marketplace.
 
The process is complete and has resulted in new business on DIDX among veteran and new suppliers, as well as buyers of DID/DDI phone numbers from over 60 countries.
 
The DIDX platform, operated by Super Technologies, helps users in 170 countries sell and/or to purchase the DID phone numbers of any nation in the world. In 2005, with the launch of the company’s many international services, Super Technologies saw the need for an international provider or exchange of DID number. There was none. Thus, DIDX was created.
 
Comtel Networks hosted and wholesale consulting inquiries have increased phenomenally, according to DIDX. The following steps of the case study will show the progress from start to finish. The company will be exhibiting at the event in booth #135.
 
For example, July 30  Comtel Networks consulted the DIDX fax API here, in particular the section on “How do I search the DIDs using API by T38 capability ?” to get started.
 
Once initiated, the Fax testing was done using FreePBX via Hylafax. However, the TIF was not found by the PDF converter in the dial-plan, which after converting is the script in charge of sending the file by e-mail, according to the company.
 
After one hour of debugging and a discussion of the problem on the Trixbox forum no solution had been found yet.
 
However, after several hours, Comtel Networks and DIDX discovered the culprit was a bug and missing file argument. FreePBX is supposed to work with rxfax / txfax, which uses a different port to the dsp engine than iaxmodem and hylafax.
 
In fact, both systems use spandsp as the core for dsp though. RxFAX uses Asterisk's (News - Alert) calls' unique Ids to identify tif files, while Hylafax must use its own external dispatcher to check its own spool directory.
 
The following information provided by DIDX is part of the larger case study.
 
A second trial begins on a different port and it worked. The perl script within FreePBX's dialplan, fax-process.pl, gets the file correctly from Asterisk through FreePBX's dialplan. The conclusion was that after testing also with Hylafax's FaxDispatcher, a different script to send e-mails, the best is to use the one that matches naturally with FreePBX, AGX Asterisk Add-ons, TxFAX and RxFAX, that work with NV Fax Detection & Background, to receive & send faxes over VoIP. Once we got the software running, a total of 8 out of 10 faxes were sent successfully through a Comcast (News - Alert) land line and received by FreePBX. As of today, reception rates have increased after tunning the system.
 
At this point, it was time to test the other way around. We looked for a carrier capable of terminating fax VoIP calls to PSTN and other VoIP carriers.
 
“Our original plan was to get a PSTN line at our ITEXPO (News - Alert) booth to show sending and receiving faxes with DIDX DID but then thought it would be better to do everything over IP. Max Glucksmann, key programmer in this experiment, thought of using a PAP2 directly registered with one of the PBX we were working on, but finally figured out how to build a web to fax gateway, which by now has been thoroughly tested and will be working at our booth 125 at ITEXPO West,” states Suzanne Bowen of DIDX.
 
After almost 6 hours of testing and research, Comtel-Networks and DIDX had fax termination via VoIP working using spandsp and the app TxFAX; the fax was sent from a PBX in a data center into Max's PC that had FreePBX installed. We used Deltathree termination and DIDX origination. No need for PSTN line at the ITEXPO West DIDX exhibit. Even so, more testing would be done.
 
FreePBX's Inbound Route Setup – NVFax is selected as Fax Detection Mechanism.
 
Below, DIDx's dashboard, where a DID shows the supported features. In this case study, “T.38 = yes” is a must.
 During tests, we also examined Voipnow 2.0 by 4PSA. “The Voipnow system was impressive during testing because of its nice AJAX GUI and because it installs almost 'Linux CLI debug and hassle free' out of the box,” states Max Glucksmann of Comtel-Networks. “The main difficulty is that has several user levels for resellers, clients and end-users, so the routing and billing schedule can be a headache.”
 
Not being open sourced also makes it difficult to personalize and understand better, according to Max's remarks.
 
Voipnow's Fax Center – Neat AJAX Web GUI
 
Having tested different platforms, Comtel-Networks decided to build a hybrid trying to gather the best features of all platforms studied. In the following images you can see the result and a have deep insight into how Comtel-Networks Web/Fax Gateway (News - Alert) works, on the front-end and behind the scenes too. To illustrate it, we are showing an Asterisk server sending a fax using TxFAX and a separate receiving server using RxFAX.
 
Comtel Networks Web to Fax Gateway
 
Comtel-Networks finally decided to go with the AGX's add-ons mainly because the setup is much simpler and easier than Hylafax's: there's no need to create iaxmdem soft-fax devices running in the background; besides that, compilation and installation is very straight forward also with AGX.
 
Vconexion using Comtel Networks' Fax Gateway – Application TxFAX is called through a PHP AGI script.
 
In order to achieve the resulting Fax Gateway, we used similar logic to FreePBX's dialplan, which allows the user to configure a recipient e-mail per DID and also lets the user select if the call should be answered to check for incoming faxes or if it should be forwarded to a destination number or other URL, in case the user has its own fax end-point. To generate fax calls, first the fax file is uploaded; then, the Web GUI places a call file in Asterisk's spool directory. This file triggers in one end, a PHP AGI that calls the destination fax number, and once connected, another API is called to connect the channel to TxFAX, providing the uploaded file path in the process.
 
FreePBX Receiving a Fax using TxFAX – Dialplan can be seen in Asterisk's CLI.
 
In conclusion, our goals were to be able to showcase the use of DIDX for T.38 DID for fax solutions at ITEXPO and to pass on that success to others to copy and perfect. We wished to deliver an honest case study of the successes and failures throughout the project. We used the DIDX API to show DID that support T.38 with the number of channels that are available.
 
Upon further study of the project at this point, Comtel-Networks will enhance the Web-to-Fax GW by adding examination of TxFAX's return code to provide delivery retry in case the connection fails, An E-mail-to-Fax Gateway, which at this point is still missing, will be part of future development at Comtel-Networks. Planned implementation of e-mail to fax is based on Inter7's API to qmail and Asterisk.

Follow ITEXPO on Twitter: twitter.com/itexpo

Tim Gray is a Web Editor for TMCnet, covering news in the IP communications, call center and customer relationship management industries. To read more of Tim’s articles, please visit his columnist page.

Edited by Tim Gray







Technology Marketing Corporation

2 Trap Falls Road Suite 106, Shelton, CT 06484 USA
Ph: +1-203-852-6800, 800-243-6002

General comments: [email protected].
Comments about this site: [email protected].

STAY CURRENT YOUR WAY

© 2024 Technology Marketing Corporation. All rights reserved | Privacy Policy