Bxjy,
i think
[incoming]
exten => fax,1,Goto(fax-incoming,1)
should read
[incoming]
exten => fax,1,Goto(fax-incoming,fax,1)
Your line is jumping into the context priority “1”, but no EXTENSION is defined to jump to. I would even change it “s”, so like:
[incoming]
exten => fax,1,Goto(fax-incoming,s,1)
and
[fax-incoming]
exten => s,1,Dial(Zap/g1,50,r)
exten => s,2,congestion
BUT…IIRC you cant “goto” from the fax extension for some reason ? Not sure yet…something was there…
If so, try testing to put the fax extension into the incoming context for now and handle the fax here complete.
And no, since you have a hardfax you DONT need spandb, only if you need to realize a “softfax” - which is causing load on the * machine.
What i have done here:
I decided to put all the “softemulated” faxcrap off the asterisk machine, its causing much load and its not even running “great”.
Hints for you in short:
Small 2nd server with Hylafax and “IAX modem” on it
Fax are routed to that server
Hylafax is handling the fax, call is taken away from asterisk
Hylafax prints out fax to diff. printers depending on extensions.
The latter gives you the abillity to have unlimited faxlines for each person/department printed out to diff. printers (or emailed even).
I use 6 faxlines here that way and its working like a charm: “Zero admin”.
(Edit)PS.:
To use the faxdetection mechanism gives you one advantage:
Asterisk is dropping the echocancellation on that thread (call) which is important for fax communication !