Page 1 of 1
Zaptel drivers in VicidialNow with Astribank
Posted:
Mon Sep 29, 2008 10:26 am
by robin
Hello,
i've set up a vicidialnow install, with everything working just fine. Unless i reboot the server.... If that happens, nothing works anymore. When i recompile the zaptel drivers, tadah! It works again just fine...
Does anybody know/heard about this problem? Or have any tips for me?
Tnx very much in advance!
Posted:
Mon Sep 29, 2008 9:38 pm
by gardo
Can you elaborate more on what you're encountering? If I remember right, the sources for Zaptel are not included on the VicidialNOW ISO.
Posted:
Tue Sep 30, 2008 1:42 am
by robin
Hi Gardo,
i have downloaded zaptel drivers from digium (as their manual states you best could do). It is version 1.2.24.
I'll just start from the start, so you can see the whole process i went trough.
Ok, first installed vicidialnow, then downloaded the zaptel drivers from digium. Then i stated the following commands:
make
make install
make -C xpp/utils install
make config
then i do:
genzaptelconf -svdM
echo '#include zapata-channels.conf' >>/etc/asterisk/zapata.conf
Ok, after doing all of this, i adjust the extensions.conf and i can use vicidial, everything works.
When the machine reboots, asterisk does not come up. If i repeat all previous steps, it works again.
Posted:
Tue Sep 30, 2008 11:16 pm
by gardo
Can you post your /etc/rc.local file?
Posted:
Wed Oct 01, 2008 3:39 am
by robin
Hi, i'm trying to post the contents of the file, but the forum gives me an error stating that i cannot post personal info or links??? I'll try to figure out why and if i can post it, i will post it asap.
Posted:
Wed Oct 01, 2008 4:55 am
by Op3r
You can just post by copy and paste it here.
Posted:
Wed Oct 01, 2008 5:12 am
by robin
hi,
if i copy and paste it, i get redirected to this message:
In order to try to prevent spammers, we do not allow our users to post URLs or enter personal data into their profile until they have posted at least 2 legitimate posts and have been with us for more than 5 days. We appreciate your understanding in this matter in order to help us eliminate spam from this forum. If you have somehow gotten this message even though you meet both of the criteria, please let us know ASAP.
Posted:
Wed Oct 01, 2008 5:14 am
by Op3r
are you sure you are pasting it on your reply?
Here's another step. Paste it first on notepad then paste it here again.
Posted:
Wed Oct 01, 2008 5:30 am
by robin
ok, tried your suggestion, same error... typed everything in here, same error.... replaced / with | and . with *, still the same err.....
i find this really strange, because am i posting links? no. personal info? nope....
Any other suggestions? I give it one more try, with no slashes, pounds and dots....
Nope, no succes. Maybe i'm not allowed to paste in here?? I'll have lunch first and try to type it in here in a different way
Posted:
Wed Oct 01, 2008 6:35 am
by robin
Ok, going to give it one more go:
i will just describe it....
first it does mke2fs
then it mounts the monitor
then it creates folder for the asterisk monitor
then it disables console blanking and powersaving
then it starts the time server
then it starts apache, mysql and vsftpd
then it rolls the asterisk logs
then it clears the server related records from the database
then it loads the timersource:
modprobe zaptel
commented out modprobe wcfxo
modprobe ztdummy
ztcfg -vvvvvvvvvvvv
then it touches subsys local
then it goes to sleep for 20 seconds
then it starts up asterisk with start_asterisk_boot
and then it does motd.sh > motd
hope this equals posting my file...
Posted:
Wed Oct 01, 2008 8:31 am
by gardo
It looks like you have the correct entries to automatically load the zaptel modules and asterisk. However, what you lack is to automatically load the astribank modules. I'm not sure what module it is since I haven't used Astribanks. You can uncomment "modprobe wcfxo" and replace "wcfxo" with the name of the module for Astribank.
Posted:
Wed Oct 01, 2008 10:11 am
by robin
I tried to figure out what those drivers where, but not really able to find out. So, tried something else.
I put
genzaptelconf -svdM
at the end of the rc.local file, et voila, it works!
tnx for your effort to help me out here. i would have never looked for the rc.local file if you would not have pointed me there.
cheers!