[Asterisk-Dev] HylaFAX and spandsp

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Sat Jun 26 16:24:49 MST 2004


On Saturday 26 June 2004 11:56, Steve Underwood wrote:
> Now I have a question. What should this look like as a complete
> application? The current applications which allow use of mu soft-FAX,
> rxfax and txfax, are transient applications. What form should a soft-FAX
> modem for HylaFAX take? Should I follow the same transient application
> format, launching a copy of HylaFAX's faxgetty as needed? If so, what
> about the FAX sending side. Should I be building a persistent
> application with a persistent copy of HylaFAX attached? HylaFAX experts,
> please tell me what will suit HylaFAX best, as I am no HylaFAX expert.

To me (not a faxing expert), something just like how it is now would be fine 
for receiving --

[fax]
exten => s,1,RxFax(/dev/psmodem1)

RxFax would talk to HylaFax as if it were a faxmodem... i.e. with RING, when 
HylaFax said ATA, it would answer the call and basically negotiate exactly as 
any Class 2 fax modem would behave -- My naive view of the situation would be 
that you're actually making spandsp LESS complex since you're disassociating 
any actual interpretation of the data and just passing it off to HylaFax.

Now my understanding of HylaFax is that it periodically "pings" the modems and 
makes sure they're ready to receive faxes -- I am not sure how spandsp would 
handle that part since my understanding is that spandsp isn't actually 
running until RxFax() is called.  Perhaps a chan_hyla would be more 
appropriate?

Sending faxes -- Just a thought: put the call creation in the asterisk spool 
like you would any other automated call?

Regards,
Andrew



More information about the asterisk-dev mailing list