[asterisk-users] Connection astrisk to a RAS (portmaster)
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 ___ --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
Re: [asterisk-users] Connection astrisk to a RAS (portmaster)
On Wed, 2007-10-31 at 20:57 -0400, Nicolas Ross wrote: > 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 I don't claim to be an expert on the Wanpipe drivers, but it's been my experience that if your D-channels bounce up and down like that every few seconds, that the Wanpipe drivers didn't successfully patch Zaptel, or you haven't restarted Zaptel since the Wanpipe drivers patched Zaptel. Hopefully that's enough to get you up and running. -- Jared Smith Community Relations Manager Digium, Inc. ___ --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
Re: [asterisk-users] Connection astrisk to a RAS (portmaster)
Thanks, That's not it. I juste uninstalled wanpipe, redownloaded zaptel (another version (1.4.5.1) to try), re-installed wanpipe, (patching zaptel in the process), recompile wanpipe, re-compiled zaptel, recompiled asterisk, re-installed everything, and still got the same errors... Nicolas - Original Message - From: "Jared Smith" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" Sent: Thursday, November 01, 2007 9:15 AM Subject: Re: [asterisk-users] Connection astrisk to a RAS (portmaster) > On Wed, 2007-10-31 at 20:57 -0400, Nicolas Ross wrote: >> 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 > > I don't claim to be an expert on the Wanpipe drivers, but it's been my > experience that if your D-channels bounce up and down like that every > few seconds, that the Wanpipe drivers didn't successfully patch Zaptel, > or you haven't restarted Zaptel since the Wanpipe drivers patched > Zaptel. > > Hopefully that's enough to get you up and running. > > > -- > Jared Smith > Community Relations Manager > Digium, Inc. > > > ___ > --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 > ___ --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
Re: [asterisk-users] Connection astrisk to a RAS (portmaster)
We've finaly solved it... For once, when we plugued the PRI into the first port, all began to work better. As for my dial-out into my RAS, I had to put pridialplan=unknown into my channels group of incoming line, and pridialplan=national in my group for my pri going to my RAS. That did the trick. Thanks, Nicolas - Original Message - From: "Nicolas Ross" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" Sent: Thursday, November 01, 2007 10:31 AM Subject: Re: [asterisk-users] Connection astrisk to a RAS (portmaster) > Thanks, > > That's not it. > > I juste uninstalled wanpipe, redownloaded zaptel (another version > (1.4.5.1) > to try), re-installed wanpipe, (patching zaptel in the process), recompile > wanpipe, re-compiled zaptel, recompiled asterisk, re-installed everything, > and still got the same errors... > > Nicolas > > > - Original Message - > From: "Jared Smith" <[EMAIL PROTECTED]> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > Sent: Thursday, November 01, 2007 9:15 AM > Subject: Re: [asterisk-users] Connection astrisk to a RAS (portmaster) > > >> On Wed, 2007-10-31 at 20:57 -0400, Nicolas Ross wrote: >>> 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 >> >> I don't claim to be an expert on the Wanpipe drivers, but it's been my >> experience that if your D-channels bounce up and down like that every >> few seconds, that the Wanpipe drivers didn't successfully patch Zaptel, >> or you haven't restarted Zaptel since the Wanpipe drivers patched >> Zaptel. >> >> Hopefully that's enough to get you up and running. ___ --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