Zaptel Issue: Had to run genzaptelconf at each reboot to start TDM400 Card

WAudette

New Member
Joined
Jul 9, 2008
Messages
16
Reaction score
0
Issue Resolved: Had to run genzaptelconf at each reboot to start TDM400 Card or I couldn't get inbound or outbound calls through this PSTN interface.

I had started with a fresh version of PBXIAF 1.3 install.
Then I ran:
Code:
update-scripts
update-fixes
update-source
After that I ended up with a system running Zaptel 1.4.12.1, Asterisk 1.4.22, and FreePBX that I had to update to 2.5.1 (but that's the unimportant bit right now). Your results may vary at any time after I write this and someone updates something.

I found out which version of zaptel I was running by running this command:
Code:
dmesg | grep Zap | more
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.4.12.1
Zaptel Echo Canceller: MG2
The Workaround
A work around was to run genzaptelconf from /etc/rc.d/rc.local before the line fxotune -s.

My file looked like this:
Code:
touch /var/lock/subsys/local
/etc/pbx/runonce
/usr/local/sbin/motd.sh > /etc/motd
/usr/src/zaptel/fxotune -s
/usr/local/sbin/amportal start
The Fix
I eventually found this file that had a wrong path:
/etc/sysconfig/zaptel

Had these lines:
Code:
# ZTCFG: The full path to ztcfg. default: /sbin/ztcfg .
ZTCFG=/usr/local/sbin/ztcfg
It needed to be:
Code:
# ZTCFG: The full path to ztcfg. default: /sbin/ztcfg .
#ZTCFG=/usr/local/sbin/ztcfg
ZTCFG=/sbin/ztcfg
The path to ztcfg can be found by running this command from the CLI:
Code:
where ztcfg
I hope this helps someone else.

William...
 
My /etc/sysconfig/zaptel had the ZTCFG=/usr/local/sbin/ztcfg
line commented out and the comments said that the default is ZTCFG=/sbin/ztcfg. So that is not my problem. I'm still investigating.
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top