[asterisk-users] PRI Setup problem

Octavio Ruiz tacvbo at tacvbo.net
Sun Apr 20 01:56:47 CDT 2008


On Mon, Oct 1, 2007 at 7:23 PM, Alvin Austin <aan at crlogic.com> wrote:
> Hi everyone,

Hi Alvin,

>  I'm trying to get a Sangoma A101D-X card talking to a Sasktel PRI
>  (Megalink) circuit and having some trouble getting it to handshake.
>  Thanks for any help or suggestions to diagnose this problem.

I was trying to figure out on that issue and find a something
reasonable and I found it.
As of branch 1.4 of zaptel, the option for hardware HDLC framing has
been integrated and IIRC since 3.2.2 version, wanpipe uses it rather
than their own patch, so it's needed to change all those ...

dchan=16

... from zaptel.conf to ...

hardhdlc=16

... in order to pass the HDLC framing from the Sangoma's HDLC engine
to the D channel.

That explains why when you changed version prior the mentioned above,
everything worked (Considering that this thread is from Oct 1, 2007)

>  The problem is that Asterisk has trouble bringing up the link.  I see
>  the following lines every couple of minutes:
>
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up

Since 2008-03-08, (chan_zap revision #106945) you will see that just
once because the channel state itself is not changing.

>  q921.c:709 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
>  q921.c:664 q921_dchannel_up: q921_state now is Q921_LINK_CONNECTION_ESTABLISHED

Those messages indicate that layer 2 is trying to reinitialize because
there are no response from the other side due the missing working
D-Channel.

Regards,

-- 
Octavio H. Ruiz Cervera
Neocenter, SA. de CV.
http://www.neocenter.com/
Soluciones para Centros de Contacto y Telefonía IP
Tel.: (+52 55) 8590-9000 Ext. 7016
Mobile: (+52 155) 5514-087790
Mobile: (+52 155) 5541-351242



More information about the asterisk-users mailing list