Tzafrir Cohen
2017-Mar-21 10:23 UTC
[asterisk-users] How to install and configure Dahdi from Debian Stretch repo ?
On Tue, Mar 21, 2017 at 09:36:21AM +0100, Olivier wrote:> Thanks to Tzafrir help, Now I have an Asterisk-Dahdi system installed from > Stretch repository. > This system has a Digium HX8 card with BRI modules, Asterisk 13.14.0, Dahdi > 2.11.1. > BRI spans appears as up and active but I've not tested them yet: > CLI> pri show spans > PRI span 1/0: Up, Active > PRI span 2/0: Up, Active > PRI span 3/0: Up, Active > > > I'm still having some questions: > > 1. I can't find any /etc/init.d/dahdi file in my newly built system so > "service dahdi status" (or systemctl status dahdi) fails with: > Unit dahdi.service could not be found. > Shall I worry about this ?No. As I mentioned, that is meaningless. There are various commands that show the status at various levels: lsmod | grep ^wctdm24xxp dahdi_hardware | grep 'wctdm24xxp\+' dahdi_span_assignments list lsdahdi asterisk -rx 'pri show spans' What exactly do you consider as "status of dahdi"?> > 2. Where can Dahdi 2.11.1 Changelog file be found ? > In http://downloads.asterisk.org/pub/telephony/ ?git log #? The tarball has no changelog and thus it is not packaged. Sorry. -- Tzafrir Cohen +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com
Steinwendtner
2017-Mar-21 16:18 UTC
[asterisk-users] How to install and configure Dahdi from Debian Stretch repo ?
Hello Tzafrir, Am 2017-03-21 um 11:23 schrieb Tzafrir Cohen:> On Tue, Mar 21, 2017 at 09:36:21AM +0100, Olivier wrote: > > I'm still having some questions: > > 1. I can't find any /etc/init.d/dahdi file in my newly built system so > "service dahdi status" (or systemctl status dahdi) fails with: > Unit dahdi.service could not be found. > Shall I worry about this ? > No. As I mentioned, that is meaningless.So it is no longer possible to make changes on dahdi parameters without rebooting the machine ? I think in the early days it was possible something like this: make a change in /etc/dahdi/system.conf asterisk -rx "module unload chan_dahdi.so" service dahdi stop service dahdi start asterisk -rx "module load chan_dahdi.so" Regards Hans
Tzafrir Cohen
2017-Mar-21 17:01 UTC
[asterisk-users] How to install and configure Dahdi from Debian Stretch repo ?
On Tue, Mar 21, 2017 at 05:18:50PM +0100, Steinwendtner wrote:> Hello Tzafrir, > > Am 2017-03-21 um 11:23 schrieb Tzafrir Cohen: > > On Tue, Mar 21, 2017 at 09:36:21AM +0100, Olivier wrote: > > > > I'm still having some questions: > > > > 1. I can't find any /etc/init.d/dahdi file in my newly built system so > > "service dahdi status" (or systemctl status dahdi) fails with: > > Unit dahdi.service could not be found. > > Shall I worry about this ? > > No. As I mentioned, that is meaningless. > So it is no longer possible to make changes on dahdi parameters > without rebooting the machine ?There should be no need for a reboot. Long live your system.> > I think in the early days it was possible something like this: > > make a change in /etc/dahdi/system.confWhat kind of change? Technically it would only take running 'dahdi_cfg' to apply that change. However that may not be enough. Depending on the specific change.> asterisk -rx "module unload chan_dahdi.so" > service dahdi stop > service dahdi start > asterisk -rx "module load chan_dahdi.so"It only got faster. No need to deconfigure anything in Asterisk (This happens on its own. At least on Asterisk >= 13). No need to unload and re-load any modules (And why would you? Just to run dahdi_cfg?). But anyway, if merely running dahdi_cfg is not enough, try: dahdi_span_assignment remove dahdi_span_assignment add # or: auto This should also configure DAHDI and register spans with Asterisk (again: >= 13). If there are still problems with asterisk: asterisk -rx "dahdi restart" -- Tzafrir Cohen +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com