[asterisk-users] dahdi_genconf and BRI NT spans in system.conf

Olivier oza_4h07 at yahoo.fr
Wed Jun 15 07:46:25 CDT 2011


2011/6/15 Tzafrir Cohen <tzafrir.cohen at xorcom.com>

> On Tue, Jun 14, 2011 at 11:36:33PM +0200, Olivier wrote:
> > Hi,
> >
> > My genconf_parameter is :
> >
> > # grep -v "^#" genconf_parameters
> > lc_country        fr
> > context_lines        remote
> > group_lines        1
> > bri_sig_style        bri
> > echo_can        oslec
> > pri_termtype
> >     SPAN/*        NT
> >
> > (I also tried various identations and syntax for pri_termtype line such
> as
> > bri_termtype but I still get the same output file).
> > But still, generated system.conf contains only TE spans.
>
> That parameter is intended for spans that dahdi_genconf cannot tell if
> they are TE or NT. It seems dahdi_genconf is sure that this specific
> port is TE. What device is it?
>

It's a Digium HA8+B400M board.

# lsdahdi
### Span  1: WCBRI/0/0 "HA8-0000 Board 1" (MASTER) AMI/CCS
  1 BRI        Clear       (In use) (SWEC: OSLEC)
  2 BRI        Clear       (In use) (SWEC: OSLEC)
  3 BRI        Hardware-assisted HDLC  (In use)
### Span  2: WCBRI/0/1 "HA8-0000 Board 1" AMI/CCS
  4 BRI        Clear       (In use) (SWEC: OSLEC)
  5 BRI        Clear       (In use) (SWEC: OSLEC)
  6 BRI        Hardware-assisted HDLC  (In use)
### Span  3: WCBRI/0/2 "HA8-0000 Board 1" AMI/CCS RED
  7 BRI        Clear       (SWEC: OSLEC)  RED
  8 BRI        Clear       (SWEC: OSLEC)  RED
  9 BRI        Hardware-assisted HDLC   RED
### Span  4: WCBRI/0/3 "HA8-0000 Board 1" AMI/CCS RED
 10 BRI        Clear       (SWEC: OSLEC)  RED
 11 BRI        Clear       (SWEC: OSLEC)  RED
 12 BRI        Hardware-assisted HDLC   RED

I also tried with Digium B410P and Junghanns PCIe QuadBRI I can't remember
ever seeing an NT configuration file, as if the pri_termtype statement was
skipped.



> >
> > # grep "term,te" system.conf
> > span=1,1,0,ccs,ami,term,te
> > span=2,2,0,ccs,ami,term,te
> > span=3,3,0,ccs,ami,term,te
> > span=4,4,0,ccs,ami,term,te
>
> Is that actually a generated line?
>
Yes, it's an extract from a generated file.

>
> >
> > Did i miss something ?
> > If that matters, I'm using Dahdi 2.4.0 and Asterisk 1.6.1.18.
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110615/54cb2ddc/attachment.htm>


More information about the asterisk-users mailing list