[asterisk-users] Connection astrisk to a RAS (portmaster)
Nicolas Ross
rossnick-lists at cybercat.ca
Wed Oct 31 19:57:49 CDT 2007
Here's my planed setup :
PRI from telco <--> (port 1 of A104d) * (port 2 of A104d) <--> PM3
The PM3, for those who don't know is lucent's portmaster RAS dial-up router.
I had setup asterisk, zaptel, libpri, wanpipe (as I have sangoma's cards).
In wancfg, I have port 1 as TDM_VOICE, with hardware echo on, span 1. Port 2
is TDM_VOICE, without hw echo, Clock as master, reference 0 (for the time
being, I'm still not hooked up with my pri, will be 1 in the future), span
2. I alswo had to enable High Impedance on port 2 to operate without alarms.
Zaptel.conf:
------------
loadzone=us
defaultzone=us
#Sangoma A104 port 1 [slot:12 bus:0 span: 1]
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
#Sangoma A104 port 2 [slot:12 bus:0 span: 2]
span=2,0,0,esf,b8zs
bchan=25-47
dchan=48
zapata.conf (part of) :
------------
;Sangoma A104 port 1 [slot:12 bus:0 span: 1]
switchtype=national
pridialplan=unknown
context=demo
group=1
signalling=pri_cpe
channel => 1-23
;Sangoma A104 port 2 [slot:12 bus:0 span: 2]
switchtype=national
pridialplan=unknown
context=demo
group=2
signalling=pri_net
channel => 25-47
Now, after start wanpipe and asterisk, my PM3 shows that the line is up (via
a t1 cross-over cable). I see that the channels are idle and waiting.
On * console, I get :
Primary D-Channel on span 2 up
All the time
I also get sometime :
== Primary D-Channel on span 2 down
[Oct 31 20:50:53] WARNING[10250]: chan_zap.c:2393 pri_find_dchan: No
D-channels available! Using Primary channel 48 as D-channel anyway!
== Primary D-Channel on span 2 up
[Oct 31 20:51:05] ERROR[10250]: chan_zap.c:8178 zt_pri_error: !! Got reject
for frame 1, but we only have others!
In my extensions.conf, I have :
exten => 1234567,1,Dial(Zap/g2/${EXTEN})
Whem I trie that extension via a softphone, I hear hald a ring, and nothing
else. The d-channel up continue to appear on the console.
Any help would be appriciated.
Nicolas
More information about the asterisk-users
mailing list