<br><br><div class="gmail_quote">2009/11/12 Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Nov 12, 2009 at 01:43:48PM +0100, Olivier wrote:<br>
> 2009/11/11 Tzafrir Cohen <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>><br>
><br>
> > On Wed, Nov 11, 2009 at 08:24:53PM +0100, Olivier wrote:<br>
<br>
</div><div class="im">> > > What about adding per-span section headers like Asterisk .conf files ?<br>
> > > [span1]<br>
> > > group_lines 1<br>
> > > pri_termtype<br>
> > > SPAN/1 TE<br>
> > > SPAN/2 TE<br>
> > ><br>
> > > [span2]<br>
> > > group_lines 2<br>
> > > pri_termtype<br>
> > > SPAN/2 TE<br>
> ><br>
> > This implies you will know span numbers in advance. I would like better<br>
> > ways to specify configuration.<br>
> ><br>
><br>
> Really ?<br>
> I used this [span1] header as an example. Using any other string would be<br>
> fine for me as what matters, if I'm not mistaken, is the group_lines number<br>
> :<br>
><br>
> [foo]<br>
> group_lines 1<br>
> pri_termtype<br>
> SPAN/1 TE<br>
> SPAN/2 TE<br>
><br>
> [bar]<br>
> group_lines 2<br>
<br>
</div>How can you tell which spans / channels will use each section?<br></blockquote><div><br>My understanding of Dahdi is that I mostly need a group number to use with Dial application :<br>Dial(DAHDI/g1/0123456789).<br>
<br><br><br><br><br>To get that dahdi-channels.conf file generated with dahdi_genconf, the only missing feature (if my understanding is correct) is to be able to group together a couple of ports so that I could either include in my diaplans, lines such as Dial(DAHDI/g1/0123456789) or Dial(DAHDI/g2/9876543210).<br>
<br>So with a /etc/dahdi/genconf_parameters like this ...<br><br>[foo]<br>
group_lines 1<br>
pri_termtype<br>
SPAN/1 TE<br>
<br>
<br>
[bar]<br>
group_lines 2<br>pri_termtype<br> SPAN/2 TE<br><br><br>... I think we've got everything needed to generate a /etc/asterisk/dahdi-channels.conf file this :<br>
<br>
; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS<br>
group=1,11<br>
context=remote<br>
switchtype = euroisdn<br>
signalling = bri_cpe_ptmp<br>
channel => 1-2<br>
context = default<br>
group = 63<br>
<br>
; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS<br>
group=2,12<br>
context=remote<br>
switchtype = euroisdn<br>
signalling = bri_cpe_ptmp<br>
channel => 4-5<br>
context = default<br>
group = 63<br><br><br>So I don't understand where I would have to "tell which spans / channels will use each section". The only purpose of sections within genconf_parameters is to set the scope of parameters like group_lines.<br>
<br>Am I correct to think I can't today generate /etc/asterisk/dahdi-channels.conf files in which 2 groups of BRI ports are defined ?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>