Update sources and Sangoma

jmullinix

Guru
Joined
Oct 21, 2007
Messages
1,263
Reaction score
7
I just ran the update-sources script on my PIAF which has a Sangoma A200 TDM card in it. Here is what I ran into.

The upgrade worked fine, but the machine would not restart ( I guess some would say that wasn't so fine.) I had to boot the machine in the single user mode and remove the S??wanrouter file from /etc/rc3.d (the ?? in its name is because I don't remember the number.) Then the machine started just fine. Then I re-installed the Sangoma drivers according to there website and I had phones again.

I rebooted the machine and it would kernal panic while shutting down. I have run into this before and added a file to rc3.d called K01stopZap with the following commands in it.

!#/bin/bash
/usr/sbin/amportal stop
/usr/sbin/asterisk -rx "stop now"
/usr/sbin/wanrouter stop
service zaptel stop

and that resolved the reboot issue.

Finally, it would not play my custom recordings for my IVR's. I changed the permissions on /var/lib/asterisk/sounds/custom to 777 ie:

chmod 777 /var/lib/asterisk/sounds/custom

I am back up and running.

On the initial restart after the upgrade, it hung starting the wanpipe drivers. I think this was because wanpipe was configured with the older version of Zaptel. That is why rebuilding the wanpipe drivers solved the problem.

I hope this helps the next person that upgrades one with wanpipe drivers.
 
Thanks John, I swear I haven't been able to get an error free load since this update. I tried pulling all my cards and starting over from scratch about 4 times and I still get errors about tormenta and zaptel in use when shutting down and some times kernel panic. I don't know what I am missing.
 
Did you try adding my K01stopzap file to rc3.d? You might also add it to rc6.d. Make sure you set the permissions and owner on it just like the rest of the files in that folder.
 
Hi John,

Just a quick thank you, I was running into the reboot/shutdown issue as well and your fix was the solution.
Thanks!

Paul
 
Actually I haven't tried this fix yet because I reloaded from scratch and don't have the sangoma installed. I installed vmware and the piaf this weekend and even that says
Unregistered Tormenta2
Error: Module zaptel is in use
 
Hi John,

I actually just tried your fix on a new box I just set up, and the kernel panic still occurs on reboot...

I'm not sure what I am missing - the script doesn't seem to run. I added a file named K01stopZap to both the rc3.d and rc6.d directories within the etc directory with the commands you supplied in your post, but nothing happens. I also double checked the permissions so that they are the same as the rest of the files in each dir.

Any tips? Thanks!

Paul
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
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