Kristan Posted September 21, 2007 Report Share Posted September 21, 2007 Hi All, We have two installations now where after an indeterminate amount of time (several days / a week) goes from being whatever is being played through Line In to horrible screeching noises. The hold music in both cases is provided by MP3's played under winamp, using a 3.5mm to 3.5mm cable from the output on the soundcard to the input. PBXnSIP is set to take music on hold from the line in. The music is still playing fine (if you plug headphones in instead of the loopback cable), and a restart of the PBXnSIP service seems to reset the music back to normal. Has anyone else seen this before and have a workaround, or can anyone else duplicate it? Thanks Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 21, 2007 Report Share Posted September 21, 2007 That sounds like the PBX is missing a byte in a 16-bit sample? Quote Link to comment Share on other sites More sharing options...
joeh Posted September 23, 2007 Report Share Posted September 23, 2007 That sounds like the PBX is missing a byte in a 16-bit sample? Any ideas on how to fix it? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 24, 2007 Report Share Posted September 24, 2007 Well, the PBX code only deals with WAVEHDR, which contains a block of data. I would say this problem sounds like a problem with the audio subsystem as the PBX does not even dive into the byte area. Instead of just blaming the audio subsystem, would it be possible to have a similar setup (maybe different computer, same type) and see if the problem also occurs without the PBX being involved? Quote Link to comment Share on other sites More sharing options...
joeh Posted September 24, 2007 Report Share Posted September 24, 2007 I will do some further testing. The setup in both cases is very different, one is Dell whilst the other is HP with different audio chipsets between the two. I will try updating the audio drivers to see if that fixes it. Quote Link to comment Share on other sites More sharing options...
Kristan Posted September 24, 2007 Author Report Share Posted September 24, 2007 Audio drivers are up to date on both PBX's. I'll try it on our RC2 demo box here, see if that does it too. Quote Link to comment Share on other sites More sharing options...
Kristan Posted October 1, 2007 Author Report Share Posted October 1, 2007 Just an update to this, it doesn't seem to have broken on the latest and greatest version (yet), however I have noticed you can replicate the noise. If you're the first call to get put on hold after a service restart, you get a second or so of the nasty screeching, then the music kicks in properly. Same for agent groups etc., anything that uses the MOH. I guess the encoder isn't starting until someone actually needs the moh and it takes a second or so to do whatever it does? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted October 1, 2007 Report Share Posted October 1, 2007 Okay, seems we have to iron the memory during the startup phase... Will be in the next latest and greatest! Quote Link to comment Share on other sites More sharing options...
Kristan Posted October 2, 2007 Author Report Share Posted October 2, 2007 Excellent thanks! Quote Link to comment Share on other sites More sharing options...
Kristan Posted October 23, 2007 Author Report Share Posted October 23, 2007 Sorry guys, this still appears to be broken - 3 PBX's, all different hardware, all 2.1, all work fine for a little while (aside from initial screeching after startup), then we just get horrible screechy noises after a few days or so. Any ideas? I notice the PBX supports streaming from RTP, can you recommend anything that will allow us to read MP3's, convert to G711 and stream via RTP to the PBX instead? Note that this only seems to happen for the wave input, the default moh is fine. Quote Link to comment Share on other sites More sharing options...
rudik Posted October 24, 2008 Report Share Posted October 24, 2008 I am using 2.1.12.2489 (win32) and still have problems with bad quality moh, even de default music. Voice quality of the Agent Group is fine The music that fades in and out is terribly distorted. I wonder if i am the only one here having the problems with the default music as well Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted October 24, 2008 Report Share Posted October 24, 2008 I am using 2.1.12.2489 (win32) and still have problems with bad quality moh, even de default music. Voice quality of the Agent Group is fine The music that fades in and out is terribly distorted. I wonder if i am the only one here having the problems with the default music as well Are you using comressing codecs? Like GSM or G.729A? Quote Link to comment Share on other sites More sharing options...
rudik Posted October 27, 2008 Report Share Posted October 27, 2008 Are you using comressing codecs? Like GSM or G.729A? I am using G.711 a-law. I have two gateways defined, a a SIP-registration to a sip-provider and a Outbound proxy. Both have the setting 'Codec Preference' set to 8. On my internal-phones (directly connected with the PBX) the music sounds fine, only the MOH through external connections (through one of the gateways) the MOH is distorted. Of course it is possible that the problem might be external, is there any way to test this ? Thanks.... Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted October 27, 2008 Report Share Posted October 27, 2008 ... is there any way to test this ? You can use Wireshark to capture the traffic to the service provider. Wireshark can a convenient way of extracting the audio and write it to a file, and you can play it back with an audio tool. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.