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.
I found out which version of zaptel I was running by running this command:
A work around was to run genzaptelconf from /etc/rc.d/rc.local before the line fxotune -s.
My file looked like this:
The Fix
I eventually found this file that had a wrong path:
/etc/sysconfig/zaptel
Had these lines:
It needed to be:
The path to ztcfg can be found by running this command from the CLI:
I hope this helps someone else.
William...
I had started with a fresh version of PBXIAF 1.3 install.
Then I ran:
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.
Code:
update-scripts
update-fixes
update-source
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 WorkaroundZaptel Version: 1.4.12.1
Zaptel Echo Canceller: MG2
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
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
Code:
# ZTCFG: The full path to ztcfg. default: /sbin/ztcfg .
#ZTCFG=/usr/local/sbin/ztcfg
ZTCFG=/sbin/ztcfg
Code:
where ztcfg
William...