At time to time somebody is trying "their luck" and send me most likely a junk fax on my voice line. During normal working hours is not a problem I just pickup the line and hangup the call but after-hours my voice mailbox is intercepting the call and recording those "beeps" (waisting my CPU cycles).
Is there a way to block call / issue hangup command if the incoming call is a fax?
Assuming you're getting the calls on some sort of a Zap channel, then in the same context where your extention is defined, add:
exten => fax,1,Hangup
or even better yet:
exten => fax,1,Background(if-this-really-is-a-human-please-press-1) exten => fax,2,Hangup
You must also have:
faxdetect=incoming
In zaptel.conf for this to work.
Hope this helps, Gilad
-- Gilad Ben-Yossef <[EMAIL PROTECTED]> Codefidence. A name you can trust(tm) Web: http://codefidence.com | SIP: [EMAIL PROTECTED] Tel: +972.9.8650475 ext. 201 | Fax: +972.9.8850643
"I am Jack's Overwritten Stack Pointer" -- Hackers Club, the movie _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users