[asterisk-users] sig_pri.c:985 pri_find_dchan: Span 1: No D-channels available! Using Primary channel as D-channel anyway!

bilal ghayyad bilmar_gh at yahoo.com
Tue Jun 14 19:11:58 CDT 2011


Dears;

I patched libpri-1.4.11.5 using the command:

patch -p0 -R -i libpri-1.4.11.5-patch and then I did make and make install, also I did same for dahdi and asterisk (ofcourse i did for asterisk ./configure).

Still the problem regarding the pri is existed, and kindly below is a snap shot of the output of the debug from the asterisk CLI:

1 TEI=0 Sending SABME
1 TEI=0 Sending SABME
1 TEI=0 Sending SABME
1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
1 q931.c:7700 q931_dl_indication: link is DOWN
1 TEI=0 Sending SABME
1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
Span: 1 Processing event: PRI_EVENT_DCHAN_DOWN
1 TEI=0 Sending SABME
1 TEI=0 Sending SABME
1 TEI=0 Sending SABME
1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
1 q931.c:7700 q931_dl_indication: link is DOWN
1 TEI=0 Sending SABME
1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
Span: 1 Processing event: PRI_EVENT_DCHAN_DOWN
1 TEI=0 Sending SABME
1 TEI=0 Sending SABME
1 TEI=0 Sending SABME
1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
1 q931.c:7700 q931_dl_indication: link is DOWN
1 TEI=0 Sending SABME
1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
Span: 1 Processing event: PRI_EVENT_DCHAN_DOWN
1 TEI=0 Sending SABME
1 TEI=0 Sending SABME

----------------------

 
> http://www.linuxtutorialblog.com/post/introduction-using-diff-and-patch-tutorial
> 
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com]
> On Behalf Of
> > bilal ghayyad
> > Sent: Tuesday, June 14, 2011 2:47 PM
> > To: asterisk-users at lists.digium.com
> > Subject: Re: [asterisk-users] sig_pri.c:985
> pri_find_dchan:
> > Span 1: D-chanannel anyway!
> >
> > Dears;
> >
> > To patch libpri: I just place the patch file in the
> libpri
> > source directory and then I run make and make
> install?
> >
> > Or I need to compile the dahdi and asterisk also?
> >
> > If the problem stayed, do I have to go for previous
> libpri
> > version? Or for previous dahdi version and asterisk
> version?
> >
> > Regards
> > Bilal
> >
> > -----------
> >
> > > bilal ghayyad wrote:
> > > > But I am afraid it is a bug because I read
> something
> > > this in the below
> > >
> > > This bug is referring to Zaptel, not dahdi.
> > >
> > > If things were working fine, and you haven't made
> any
> > > recent changes, in
> > > my experience it's always been provider (99%) or
> cable (1%)
> > > issues when
> > > I've lost my D channel.
> > >
> > > Doug
> > >
> > > --
> > >
> > >
> > > You know I'm a flight engineer but non of the
> airlines
> > > wanted to hire
> > > me because other than the self proclaimed title I
> have no
> > > clue how to
> > > operate or maintain an aircraft.
> > > The dictionary is probably wrong you should patch
> libpri
> > >
> > > On Tue, Jun 14, 2011 at 11:43 AM, bilal ghayyad
> > <bilmar_gh at yahoo.com>
> > > wrote:
> > > > The provider came to the site and they have
> a gateway,
> > > they connected the gateway to the E1 cable, and
> we called
> > > the number and it answered !!!
> > > >
> > > > So it is no more provider issue.
> > > >
> > > > I start beleive, it is a bug maybe in the
> dahdi and
> > > libpri. I tried all the possibilities, but no
> luck.
> > > >
> > > > WHAT COULD BE?
> > > >
> > > >
> > > > Regards
> > > > Bilal
> > > > ------------------
> >
> >
> > --
> >
> _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > New to Asterisk? Join us for a live introductory
> webinar every Thurs:
> >               
> http://www.asterisk.org/hello
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >




More information about the asterisk-users mailing list