[Asterisk-Users] RE: Fax detection in voip channel

usedcanon usedcanon at yahoo.co.uk
Fri Oct 22 11:59:15 MST 2004


usedcanon wrote:

>>Hi All,
>>
>>Is it possible to detect an incomming fax just as it is possible with
Answer
>>on a Zap channel. If not do others find the possibility of this
enhancement
>>useful too?
>>
>>
>Detecting that an incoming is a FAX has been present in * since its
>early days.
>
>Regards,
>Steve

Steve,

Can you kindly elaborate on that. As I mention in my original post, I
understand that it is possible for calls comming in on a Zap channel, but my
tests and wiki documentation suggest that it is limited to that.

If you can shed some more light on this I would be greatful.

should something like this work ? if the incomming call is from a SIP
channel

 [default]
 exten => s,1,Answer
 exten => s,2,Dial(IAX2/3987,40,r)
 exten => s,3,Hangup

 exten => fax,1,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif)
 exten => fax,2,rxfax(${FAXFILE})


Thanks

Umar




More information about the asterisk-users mailing list