Hi all,

So I'm trying to work on this complex fax server setup, and part of it involves 
connecting my asterisk server to my Rolm CBX switch, via a T1 line.  I plan on 
using Asterisk simply as a T1-PRI Bridge to IAXmodem (which in turn, activates 
HylaFax+ to handle the faxing).  So far, though, I don't think I'm getting 100% 
of the way there.  When dialing the fax extension from my Rolm phone, I get 
several seconds of silence followed by error tone.  But on asterisk's CLI, I 
see this:

    -- Starting simple switch on 'Zap/2-1'
    -- Starting simple switch on 'Zap/3-1'
    -- Starting simple switch on 'Zap/4-1'
    -- Starting simple switch on 'Zap/1-1'
    -- Executing [EMAIL PROTECTED]:1] Dial("Zap/2-1", "IAX2/iaxmodem0/s|10|r") 
in new stack
    -- Called iaxmodem0/s
    -- Call accepted by 127.0.0.1 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/iaxmodem0-5 is ringing
    -- IAX2/iaxmodem0-5 answered Zap/2-1
    -- Executing [EMAIL PROTECTED]:1] Dial("Zap/3-1", "IAX2/iaxmodem0/s|10|r") 
in new stack
    -- Called iaxmodem0/s
[Feb 15 15:40:22] WARNING[24329]: chan_iax2.c:7542 socket_process: Call 
rejected by 127.0.0.1: Busy
    -- Hungup 'IAX2/iaxmodem0-1'
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'Zap/3-1' status is 'CHANUNAVAIL'
    -- Executing [EMAIL PROTECTED]:1] Dial("Zap/4-1", "IAX2/iaxmodem0/s|10|r") 
in new stack
    -- Called iaxmodem0/s
[Feb 15 15:40:30] WARNING[24327]: chan_iax2.c:7542 socket_process: Call 
rejected by 127.0.0.1: Busy
    -- Hungup 'IAX2/iaxmodem0-3'
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'Zap/4-1' status is 'CHANUNAVAIL'
    -- Hungup 'Zap/3-1'
    -- Executing [EMAIL PROTECTED]:1] Dial("Zap/1-1", "IAX2/iaxmodem0/s|10|r") 
in new stack
    -- Called iaxmodem0/s
[Feb 15 15:40:35] WARNING[24327]: chan_iax2.c:7542 socket_process: Call 
rejected by 127.0.0.1: Busy
    -- Hungup 'IAX2/iaxmodem0-4'
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'Zap/1-1' status is 'CHANUNAVAIL'
    -- Hungup 'Zap/4-1'


The Rolm gives me error tone just before the "Starting simple switch" messages 
begin to appear, so it's almost like the Rolm is not waiting around long enough 
for the asterisk server to answer, before it jumps to the next configured T1 
channel, runs out of channels (I only configured four in the Rolm and on 
asterisk).


Here's my configuration for asterisk.  Is anything amiss by chance?

Standard T1
Signalling is E&M Wink, 200ms wink time (as far as I can tell)
Mode is ESF and format is B8ZS

/etc/zaptel.conf is:
span=1,1,0,esf,b8zs
e&m=1-4
loadzone = us
defaultzone=us


/etc/asterisk/zapata.conf is:
[trunkgroups]

[channels]
language=en
context=default
switchtype=national
signalling=em_w
wink=200
channel => 1-4
usecallerid=yes
callerid=asreceived
cidsignalling=bell
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=no
threewaycalling=no
transfer=no
canpark=no
cancallforward=no
callreturn=no
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
busydetect=yes
busycount=6
faxdetect=incoming


/etc/asterisk/extensions.conf is:
[general]
static=yes
writeprotect=no
clearglobalvars=no

[globals]
CONSOLE=Console/dsp                             ; Console interface for demo
TRUNK=Zap/g0                                    ; Trunk interface
TRUNKMSD=1                                      ; MSD digits to strip (usually 
1 or 0)

[fax-in]
exten => s,1,Dial(IAX2/iaxmodem0/${EXTEN},10,r)


Thoughts?

Thanks!,

--Josh

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to