Chris Tracy
2005-Nov-07 20:41 UTC
[Asterisk-Users] Choppy Audio in Echo Test and Music On Hold (1.2.0-b2)
I recently resurrected an old athlon system and put CentOS 4.2 on it to play with asterisk. First I tried asterisk-1.0.9, now I'm using 1.2.0-b2. Both have the same audio issues that have me stumped. I looked through all the lists and forums and the closest I could get were some messages from 2003: http://lists.digium.com/pipermail/asterisk-users/2003-August/017171.html I've got asterisk set up with my xten-lite softphone on extension 200 over SIP. I've configured extension 611 as an echo test and 612 will play 30 seconds of MusicOnHold. I can connect to both just fine, however, they sound rather bad when they work (quite muddy) and periodically they just drop out for as much as 5 seconds before coming back. Enabling all the debugging and verbosity options, I've found a few messages that occur during each drop. During the MOH run, every time there's a drop, the console scrolls: res_musiconhold.c:535 monmp3thread: Only wrote -1 of 640 bytes to pipe over and over until the sound comes back, at which point, the console message: rtp.c:1247 ast_rtp_raw_write: Difference is 33824, ms is 4248 is displayed. (Not always the same numbers in that one, obviously) In the echo test, again, after a drop, the audio returns and a message similar to: rtp.c:1247 ast_rtp_raw_write: Difference is 12496, ms is 1582 is displayed. The asterisk server is on a single Athlon MP 1600+ (1.4GHz) with 512MB of RAM. It's got a K7D-Master mobo, and is connected to the system running the softphone through a 100Mbit LAN. I've not enabled any of the MMX optimizations as there were warnings that they didn't play nice with AMD chips. If there's any further info I can provide, I'd be happy to. Thanks, Chris
Jennifer Hales
2005-Nov-07 21:01 UTC
[Asterisk-Users] Choppy Audio in Echo Test and Music On Hold(1.2.0-b2)
We had problems with music on hold and finally decided to move to option 2 on the faking it document. We have not had any trouble since. Good luck. http://www.voip-info.org/wiki-Asterisk+mpg123+faking+it Regards Jenn -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Chris Tracy Sent: Tuesday, November 08, 2005 2:42 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Choppy Audio in Echo Test and Music On Hold(1.2.0-b2) I recently resurrected an old athlon system and put CentOS 4.2 on it to play with asterisk. First I tried asterisk-1.0.9, now I'm using 1.2.0-b2. Both have the same audio issues that have me stumped. I looked through all the lists and forums and the closest I could get were some messages from 2003: http://lists.digium.com/pipermail/asterisk-users/2003-August/017171.html I've got asterisk set up with my xten-lite softphone on extension 200 over SIP. I've configured extension 611 as an echo test and 612 will play 30 seconds of MusicOnHold. I can connect to both just fine, however, they sound rather bad when they work (quite muddy) and periodically they just drop out for as much as 5 seconds before coming back. Enabling all the debugging and verbosity options, I've found a few messages that occur during each drop. During the MOH run, every time there's a drop, the console scrolls: res_musiconhold.c:535 monmp3thread: Only wrote -1 of 640 bytes to pipe over and over until the sound comes back, at which point, the console message: rtp.c:1247 ast_rtp_raw_write: Difference is 33824, ms is 4248 is displayed. (Not always the same numbers in that one, obviously) In the echo test, again, after a drop, the audio returns and a message similar to: rtp.c:1247 ast_rtp_raw_write: Difference is 12496, ms is 1582 is displayed. The asterisk server is on a single Athlon MP 1600+ (1.4GHz) with 512MB of RAM. It's got a K7D-Master mobo, and is connected to the system running the softphone through a 100Mbit LAN. I've not enabled any of the MMX optimizations as there were warnings that they didn't play nice with AMD chips. If there's any further info I can provide, I'd be happy to. Thanks, Chris _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- 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
Sergey Okhapkin
2005-Nov-08 04:39 UTC
[Asterisk-Users] Choppy Audio in Echo Test and Music On Hold (1.2.0-b2)
Do you have silence suppression enabled on your clients? Asterisk can't work with silence suppression. Take a look at http://bugs.digium.com/view.php?id=5374 , the patch works fine to me, now I'm able to set SS and save bandwidth. On Mon, 2005-11-07 at 19:41 -0800, Chris Tracy wrote:> I recently resurrected an old athlon system and put CentOS 4.2 on > it to play with asterisk. First I tried asterisk-1.0.9, now I'm using > 1.2.0-b2. Both have the same audio issues that have me stumped. > > I looked through all the lists and forums and the closest I could > get were some messages from 2003: > > http://lists.digium.com/pipermail/asterisk-users/2003-August/017171.html > > I've got asterisk set up with my xten-lite softphone on extension > 200 over SIP. I've configured extension 611 as an echo test and 612 will > play 30 seconds of MusicOnHold. I can connect to both just fine, however, > they sound rather bad when they work (quite muddy) and periodically they > just drop out for as much as 5 seconds before coming back. > > Enabling all the debugging and verbosity options, I've found a few > messages that occur during each drop. During the MOH run, every time > there's a drop, the console scrolls: > > res_musiconhold.c:535 monmp3thread: Only wrote -1 of 640 bytes to pipe > > over and over until the sound comes back, at which point, the console > message: > > rtp.c:1247 ast_rtp_raw_write: Difference is 33824, ms is 4248 > > is displayed. (Not always the same numbers in that one, obviously) > > In the echo test, again, after a drop, the audio returns and a > message similar to: > > rtp.c:1247 ast_rtp_raw_write: Difference is 12496, ms is 1582 > > is displayed. > > The asterisk server is on a single Athlon MP 1600+ (1.4GHz) with > 512MB of RAM. It's got a K7D-Master mobo, and is connected to the system > running the softphone through a 100Mbit LAN. > > I've not enabled any of the MMX optimizations as there were > warnings that they didn't play nice with AMD chips. > > If there's any further info I can provide, I'd be happy to. > > Thanks, > > Chris > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051108/98a30228/attachment.htm
Rich Adamson
2005-Nov-08 05:12 UTC
[Asterisk-Users] Choppy Audio in Echo Test and Music On Hold (1.2.0-b2)
> I recently resurrected an old athlon system and put CentOS 4.2 on > it to play with asterisk. First I tried asterisk-1.0.9, now I'm using > 1.2.0-b2. Both have the same audio issues that have me stumped. > > I looked through all the lists and forums and the closest I could > get were some messages from 2003: > > http://lists.digium.com/pipermail/asterisk-users/2003-August/017171.html > > I've got asterisk set up with my xten-lite softphone on extension > 200 over SIP. I've configured extension 611 as an echo test and 612 will > play 30 seconds of MusicOnHold. I can connect to both just fine, however, > they sound rather bad when they work (quite muddy) and periodically they > just drop out for as much as 5 seconds before coming back.In the xlite configuration, look for an option something like 'transmit silence' and set that to yes. (Might be called 'silence suppression', I don't remember.)