Hmm, I don't know if the zaptel fax detection will trigger. This is going
through my company's Rolm CBX switch, using a plain T1 cable (yanno, RBS,
E&M Wink, and all that jazz) between the two systems as a Tie line, so that
may mess with the fax stuff. The Rolm's just wired to take a special
extension block and pump anything coming in on them out the T1 trunk group to
the asterisk server (which is only being used for fax purposes as a T1 bridge to
iaxmodem/hylafax).
My initial tests were using the 's' extension, because the other T1 card
was mangling the DTMF signaling due to a hardware incompatibility -- the
replacement card lets things work properly, and asterisk hunts for an exten line
starting with the first digit of my extension group, not 'fax'. Though
I can probably do '_55XX' as my extension definition versus
'_X.', since my extensions are four digits long and there's only 100
of them...
I'm assuming in the provided example, the priority value 'n' simply
illustrates where I need to add 2, 3, 4, etc..., as a quick glance at
voip-info.org's explanation doesn't indicate that 'n' is valid.
Not sure what the |20 in the Dial() function refers to, though...
Thanks for the pointers! A few friends said asterisk config files were
horrific, but they're actually not bad at all, TBH (BIND zone files have far
worse syntax).
--jkinard
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Craig Guy
It should look more like this:
exten => fax,1,Dial(IAX2/iaxmodem1/${NumberCalled}|20)
exten => fax,n,Dial(IAX2/iaxmodem2/${NumberCalled}|20)
exten => fax,n,Dial(IAX2/iaxmodem3/${NumberCalled}|20)
exten => fax,n,Dial(IAX2/iaxmodem4/${NumberCalled}|20)
exten => fax,n,Busy()