Re: [Asterisk-Users] Music on Hold = Silence ???

2005-01-04 Thread Rich Adamson
 Having played with the music on hold settings for 2 days now trying to get
 it to work I am stumped and need help from the group.
 
 Have a standard * installation with FXO cards and two working SIP phones
 (x-lite). I am able to make TDM-SIP, SIP-TDM, and SIP-SIP calls with no
 problem. When ever I place a call on hold (or any other time MOH should be
 played) I hear nothing but silence. Have checked settings in
 musiconhold.conf and read wiki on subject to no avail. Have implemented a
 test number in extensions.conf as follows...
 
 exten = 6601,1,Answer
 exten = 6601,2,WaitMusicOnHold(30)
 
 Console displays the following...
 
 -- Executing Answer(SIP/mmurdock-81b4, ) in new stack
 -- Executing WaitMusicOnHold(SIP/mmurdock-81b4, 30) in new stack
 -- Started music on hold, class 'default', on SIP/mmurdock-81b4
 -- Stopped music on hold on SIP/mmurdock-81b4
 
 Hear nothing but silence...
 
 musiconhold.conf has following...
 
 [classes]
 default = mp3:/var/lib/asterisk/mohmp3
 
 
 Where do I look next?

1. Is there an *.mp3 file located in /var/lib/asterisk/mohmp3 ?

2. If you do a ps -ax, do you see:
 3330 pts/0S  0:00 mpg123 -q -s --mono -r 8000 -b 2048 -f 4096 xxx.mp3
 3332 pts/0S  0:00 mpg123 -q -s --mono -r 8000 -b 2048 -f 4096 xxx.mp3
where xxx.mp3 is something in the directory noted above?

3. After you have a sip call established and you place it on hold, do
you see something like the following on the CLI?
-- Called 3000
-- SIP/3000-5a91 is ringing
-- SIP/3000-5a91 answered SIP/3031-9ad1
-- Attempting native bridge of SIP/3031-9ad1 and SIP/3000-5a91
-- Started music on hold, class 'default', on SIP/3031-9ad1

4. Which distro are you using?



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Music on Hold = Silence ???

2005-01-04 Thread Anders F Eriksson
If you use RH or Fedora the included mpg123 doesn't work. Check
http://www.voip-info.org/tiki-index.php?page=Asterisk%20mpg123%20redhat for
info on how to fix it.

/Anders

 Having played with the music on hold settings for 2 days now 
 trying to get it to work I am stumped and need help from the group.
 
 Have a standard * installation with FXO cards and two working 
 SIP phones (x-lite). I am able to make TDM-SIP, SIP-TDM, 
 and SIP-SIP calls with no problem. When ever I place a call 
 on hold (or any other time MOH should be
 played) I hear nothing but silence. Have checked settings in 
 musiconhold.conf and read wiki on subject to no avail. Have 
 implemented a test number in extensions.conf as follows...
 
 exten = 6601,1,Answer
 exten = 6601,2,WaitMusicOnHold(30)
 
 Console displays the following...
 
 -- Executing Answer(SIP/mmurdock-81b4, ) in new stack
 -- Executing WaitMusicOnHold(SIP/mmurdock-81b4, 30) 
 in new stack
 -- Started music on hold, class 'default', on SIP/mmurdock-81b4
 -- Stopped music on hold on SIP/mmurdock-81b4
 
 Hear nothing but silence...
 
 musiconhold.conf has following...
 
 [classes]
 default = mp3:/var/lib/asterisk/mohmp3
 
 
 Where do I look next?
 
 -- Mike

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users