Re: [asterisk-users] dahdi-channels.conf parameters
On Tue, Feb 05, 2013 at 02:09:12PM -0600, Hose wrote: Hi, I've always used dahdi-genconf to just create the dahdi-channels.conf and since our PRI is fairly simple (just dump all the channels into one group) it works with dialing with dahdi/g1/(number). I'm trying to understand the file though for my own reference. It seems the file looks like this: group=0,11 context=from-pstn switchtype = national signalling = pri_cpe channel = 1-23 context = default group = 63 So what I don't get is why group is specified with 0,11. Is that groups 0 and groups 11? And then it has a random group = 63 at the end. And I dial with group 1 (dahdi/g1), but it seems to work? :) It's completely confused me as to why this actually works. 'group = 63' is a work around an old (and long-ago fixed, I believe) in chan_dahdi (or maybe chan_zap - and never made it to chan_dahdi?). You can just write 'group = ' instead to reset the groups. It would be even nicer to write the above as: [dahdi-span-1] group=0,11 context=from-pstn switchtype = national signalling = pri_cpe dahdichan = 1-23 ('dahdi-span-1' is an arbitrary title). This only works for Asterisk = 1.6.0, and thus I never got to switching dahdi_genconf to use it. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@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
[asterisk-users] dahdi-channels.conf parameters
Hi, I've always used dahdi-genconf to just create the dahdi-channels.conf and since our PRI is fairly simple (just dump all the channels into one group) it works with dialing with dahdi/g1/(number). I'm trying to understand the file though for my own reference. It seems the file looks like this: group=0,11 context=from-pstn switchtype = national signalling = pri_cpe channel = 1-23 context = default group = 63 So what I don't get is why group is specified with 0,11. Is that groups 0 and groups 11? And then it has a random group = 63 at the end. And I dial with group 1 (dahdi/g1), but it seems to work? :) It's completely confused me as to why this actually works. hose -- _ -- 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
Re: [asterisk-users] dahdi-channels.conf parameters
I've always used dahdi-genconf to just create the dahdi-channels.conf and since our PRI is fairly simple (just dump all the channels into one group) it works with dialing with dahdi/g1/(number). I'm trying to understand the file though for my own reference. It seems the file looks like this: group=0,11 context=from-pstn switchtype = national signalling = pri_cpe channel = 1-23 context = default group = 63 So what I don't get is why group is specified with 0,11. Is that groups 0 and groups 11? And then it has a random group = 63 at the end. And I dial with group 1 (dahdi/g1), but it seems to work? :) It's completely confused me as to why this actually works. The starting configuration file is chan_dahdi.conf which may subsequently include a dahdi-channels.conf file. The thing to remember with chan_dahdi.conf is all options are cumulative. Channels are created using the cumulative configuration when the channel = 1-23 line is processed. Anything after that line will not affect channels 1-23 since they are already created. Depending on where in the configuration the snippet you posted is found will determine if it even has any effect. Richard -- _ -- 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
Re: [asterisk-users] dahdi-channels.conf parameters
What you say...Richard Mudgett (rmudg...@digium.com): I've always used dahdi-genconf to just create the dahdi-channels.conf and since our PRI is fairly simple (just dump all the channels into one group) it works with dialing with dahdi/g1/(number). I'm trying to understand the file though for my own reference. It seems the file looks like this: group=0,11 context=from-pstn switchtype = national signalling = pri_cpe channel = 1-23 context = default group = 63 So what I don't get is why group is specified with 0,11. Is that groups 0 and groups 11? And then it has a random group = 63 at the end. And I dial with group 1 (dahdi/g1), but it seems to work? :) It's completely confused me as to why this actually works. The starting configuration file is chan_dahdi.conf which may subsequently include a dahdi-channels.conf file. The thing to remember with chan_dahdi.conf is all options are cumulative. Channels are created using the cumulative configuration when the channel = 1-23 line is processed. Anything after that line will not affect channels 1-23 since they are already created. Depending on where in the configuration the snippet you posted is found will determine if it even has any effect. Richard Ah, ok. Is it possible that this file isn't even being used then? The chan_dahdi.conf is similarly terse and doesn't have an include = line: [channels] context = global_inbound switchtype = dms100 pridialplan = national signalling = pri_cpe rxgain = 1.0 txgain = 1.0 group=1 echocancel=yes channel = 1-23 jbenable=no callprogress=yes musiconhold=default usecallerid=yes hose -- _ -- 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
Re: [asterisk-users] dahdi-channels.conf parameters
What you say...Richard Mudgett (rmudg...@digium.com): I've always used dahdi-genconf to just create the dahdi-channels.conf and since our PRI is fairly simple (just dump all the channels into one group) it works with dialing with dahdi/g1/(number). I'm trying to understand the file though for my own reference. It seems the file looks like this: group=0,11 context=from-pstn switchtype = national signalling = pri_cpe channel = 1-23 context = default group = 63 So what I don't get is why group is specified with 0,11. Is that groups 0 and groups 11? And then it has a random group = 63 at the end. And I dial with group 1 (dahdi/g1), but it seems to work? :) It's completely confused me as to why this actually works. The starting configuration file is chan_dahdi.conf which may subsequently include a dahdi-channels.conf file. The thing to remember with chan_dahdi.conf is all options are cumulative. Channels are created using the cumulative configuration when the channel = 1-23 line is processed. Anything after that line will not affect channels 1-23 since they are already created. Depending on where in the configuration the snippet you posted is found will determine if it even has any effect. Richard Ah, ok. Is it possible that this file isn't even being used then? The chan_dahdi.conf is similarly terse and doesn't have an include = line: [channels] context = global_inbound switchtype = dms100 pridialplan = national signalling = pri_cpe rxgain = 1.0 txgain = 1.0 group=1 echocancel=yes channel = 1-23 jbenable=no callprogress=yes musiconhold=default usecallerid=yes If this is the contents of the chan_dahdi.conf file then yes, the dahdi-channels.conf file is not even used. Also the lines after channel = 1-23 have no effect. Richard -- _ -- 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
Re: [asterisk-users] dahdi-channels.conf parameters
What you say...Richard Mudgett (rmudg...@digium.com): What you say...Richard Mudgett (rmudg...@digium.com): I've always used dahdi-genconf to just create the dahdi-channels.conf and since our PRI is fairly simple (just dump all the channels into one group) it works with dialing with dahdi/g1/(number). I'm trying to understand the file though for my own reference. It seems the file looks like this: group=0,11 context=from-pstn switchtype = national signalling = pri_cpe channel = 1-23 context = default group = 63 So what I don't get is why group is specified with 0,11. Is that groups 0 and groups 11? And then it has a random group = 63 at the end. And I dial with group 1 (dahdi/g1), but it seems to work? :) It's completely confused me as to why this actually works. The starting configuration file is chan_dahdi.conf which may subsequently include a dahdi-channels.conf file. The thing to remember with chan_dahdi.conf is all options are cumulative. Channels are created using the cumulative configuration when the channel = 1-23 line is processed. Anything after that line will not affect channels 1-23 since they are already created. Depending on where in the configuration the snippet you posted is found will determine if it even has any effect. Richard Ah, ok. Is it possible that this file isn't even being used then? The chan_dahdi.conf is similarly terse and doesn't have an include = line: [channels] context = global_inbound switchtype = dms100 pridialplan = national signalling = pri_cpe rxgain = 1.0 txgain = 1.0 group=1 echocancel=yes channel = 1-23 jbenable=no callprogress=yes musiconhold=default usecallerid=yes If this is the contents of the chan_dahdi.conf file then yes, the dahdi-channels.conf file is not even used. Also the lines after channel = 1-23 have no effect. Richard Excellent - thanks for clearing that up. -- _ -- 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