Dear all, I have some questions, I'm sure it's pretty stupid for most of you, but I need you guys to help me. Here are my questions: 1. Music On Hold, it doesn't play any sound on the parked call or hold call. But if I do ps-ax, it shows mpg123 .....( I forgot the exact line). I'm using slackware 9.1 2. I have fxs 3 port, and in my zapata.conf I have included callpickup=1-4, but I can't pick up the call. 3. Supposed I have 2 fxo cards (right now I have one already) and 3 fxs, and one of the fxo will have two phone (running pararell), is there any way for * to: a. It always dial the first fxo, if the fxo is busy or is being used (have other people conversation), will * be able to switch it to other fxo? Here's the approximiate the conditions of the phone. Line PSTN -- FXO |--------------- phone Line PSTN --FXO Please pardon my English, and thanks for your help
----- Original Message ----- From: "Isianto Istiadi" <isianto.istiadi@adirarental.com> To: <Asterisk-Users@lists.digium.com> Sent: Monday, December 15, 2003 8:15 PM Subject: [Asterisk-Users] Beginner couple of questions> 1. Music On Hold, it doesn't play any sound on the parked call or holdcall.> But if I do ps-ax, it shows mpg123 .....( I forgot the exact line). I'musing> slackware 9.1Slackware doesn't have mpg123 installed out of the box. It's actually a symlink to mpg321. Delete the symlink and install mpg123. I recommend swaret for Slackers. http://www.swaret.org/?menu=downloads follow the instructions for installation and then swaret --update && swaret --install mpg123 Your MOH will work fine after this. The MOH is actually playing with mpg123 symlinked to mpg321, but it's so slow that you can't tell it's playing. look at the wiki http://www.voip-info.org/wiki-Asterisk+mpg123+redhat You can download the rpm and use rpm2tgz on it, then use installpkg package.tgz.. I would recommend you either compile from src or use swaret though. Christian
On Monday 15 December 2003 20:15, Isianto Istiadi wrote:> Dear all, > > I have some questions, I'm sure it's pretty stupid for most of you, > but I need you guys to help me. Here are my questions: > 1. Music On Hold, it doesn't play any sound on the parked call or > hold call. But if I do ps-ax, it shows mpg123 .....( I forgot the > exact line). I'm using slackware 9.1Please run the following command: echo | strings `which mpg123` | grep -c mpg123 If the output is 0, you've got mpg321 installed, symlinked to mpg123, which will not work. Deinstall mpg321 and install mpg123.> 2. I have fxs 3 port, and in my zapata.conf I have included > callpickup=1-4, but I can't pick up the call.Use the right keywords: callgroup and pickupgroup.> 3. Supposed I have 2 fxo cards (right now I have one already) and 3 > fxs, and one of the fxo will have two phone (running pararell), is > there any way for * to: > a. It always dial the first fxo, if the fxo is busy or is being used > (have other people conversation), will * be able to switch it to > other fxo? Here's the approximiate the conditions of the phone.Yes, define both FXO ports in the same group (e.g. 0) then dial numbers using the group, (e.g. Dial(Zap/g0/2345678)). -Tilghman