[Asterisk-Users] BLOCKING incoming FAXES on voice line.

Joseph syscon at interbaun.com
Mon Dec 6 09:52:55 MST 2004


My call is coming via Sipura SPA-3000 unit so I'm not sure if it'll work
in my situation as SPA3000 is answering the phone and automatically
passing asterisk incoming extension.

-- 
#Joseph

On Mon, 2004-12-06 at 11:23 +0200, Gilad Ben-Yossef wrote:
> Joseph wrote:
> > 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
> 




More information about the asterisk-users mailing list