OpenVZ Forum


Home » General » Support » Asterisk Meetme and Dahdi (Zaptel) issue on 64bit HN
Re: Asterisk Meetme and Dahdi (Zaptel) issue on 64bit HN [message #35579 is a reply to message #35578] Mon, 06 April 2009 11:34 Go to previous messageGo to previous message
sammy08 is currently offline  sammy08
Messages: 21
Registered: April 2008
Junior Member
Here is what I have done so far.

I copied the patched dahdi_dummy files over to the VE, then downloaded and compiled Asterisk. After I tried to start dahdi I got the errors below.

[root@testpbx dahdi]# service dahdi start
Loading DAHDI hardware modules:
WARNING: Error inserting crc_ccitt (/lib/modules/2.6.18-92.1.18.el5.028stab060.8/kernel/lib/crc-ccitt.ko): Operation not permitted
FATAL: Error inserting dahdi (/lib/modules/2.6.18-92.1.18.el5.028stab060.8/dahdi/dahdi.ko): Operation not permitted

No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg:  Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected


Afterwards I once again copied the devices back over to the VE as follows:

On the HN
[root@myserver dahdi]# for x in `ls /dev/dahdi`; do /usr/sbin/vzctl set 130 --devnodes dahdi/${x}:rw --save; done
Setting devices
Saved parameters for CT 130
Setting devices
Saved parameters for CT 130
Setting devices
Saved parameters for CT 130
Setting devices
Saved parameters for CT 130
[root@myserver dahdi]#


[root@myserver dahdi]# vzctl exec 130 chown -R asterisk /dev/dahdi /lib/udev/devices/dahdi
[root@myserver dahdi]# vzctl exec 130 chgrp -R asterisk /dev/dahdi /lib/udev/devices/dahdi
[root@myserver dahdi]#


On the VE
[root@testpbx dahdi]# service dahdi start
Loading DAHDI hardware modules:
WARNING: Error inserting crc_ccitt (/lib/modules/2.6.18-92.1.18.el5.028stab060.8/kernel/lib/crc-ccitt.ko): Operation not permitted
FATAL: Error inserting dahdi (/lib/modules/2.6.18-92.1.18.el5.028stab060.8/dahdi/dahdi.ko): Operation not permitted

No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg:                                         [  OK ]
[root@testpbx dahdi]#


Then I try to start Asterisk on the VE

[root@testpbx dahdi]# service asterisk restart
Shutting down asterisk:                                    [FAILED]
Starting asterisk:                                         [  OK  ]
[root@testpbx dahdi]# Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
mpg123: no process killed
Asterisk ended with exit status 1
Asterisk died with code 1.


[Updated on: Mon, 06 April 2009 11:35]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to set mtu in a container
Next Topic: secure.2, secure.3 are empty
Goto Forum:
  


Current Time: Mon Sep 09 15:26:42 GMT 2024

Total time taken to generate the page: 0.04343 seconds