Gsmopen weird sound incoming
Hi, Thanks so much for Freeswitch and Gsmopen! I'm loving it! I'm having an issue with incoming calls to a Gsmopen endpoint (E160). Sometimes I hear a strange sound before my IVR recording starts. Here are some examples: http://hartmanncomputer.com/2013-03-03-11-10-17_501x.wav http://hartmanncomputer.com/2013-03-03-11-12-02_501x.wav Although the two examples are pretty consistent, the sounds, when they happen are generally not. Sometimes it's just a hiss, then maybe another time it will be more of a screech. I'm using Ubuntu 12.04-amd64. I have done some optimizations for Linux Audio and USB audio. These do seem to have improved the sound quality through the dongle but they haven't solved this weird sound problem on incoming calls. If anyone's interested, my tweaks were; using the lowlatency kernel and adding 'snd-usb-audio nrpacks=1' to my /etc/modules. Has anyone experienced this sound? Thanks much! Peter Hartmann Hartmann Computer Consulting
On Mon, Mar 4, 2013 at 3:16 AM, Peter Hartmann <peter@hartmanncomputer.com>wrote:
I'm using Ubuntu 12.04-amd64. I have done some optimizations for Linux Audio and USB audio. These do seem to have improved the sound quality through the dongle but they haven't solved this weird sound problem on incoming calls. If anyone's interested, my tweaks were; using the lowlatency kernel and adding 'snd-usb-audio nrpacks=1' to my /etc/modules.
Hello, you would better unload any *any* snd* module from kernel. mod_gsmopen do not use the audio subsystem at all, and those module can't have a positive effect, quite possibly negative. mod_gsmopen has nothing to do with ALSA or OSS, and do not use sound at all. You would be better served by an install that is exactly as in the wiki page. mod_gsmopen exchange digital audio directly at sample level with the dongle, through the serial interface. That dongle is not seen as an audio card from the kernel, but as a modem (exactly as 4 modems). Also, lowlatency kernel is not required or supported. I've listened to the recordings, but I cannot hear bad sounds, just some noise at beginning of recording. How do you obtain those recordings? Eg: the exact procedure you use to produce those files? -giovanni
Has anyone experienced this sound?
Thanks much!
Peter Hartmann Hartmann Computer Consulting
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Hey Giovanni, Thanks for your help.
You would be better served by an install that is exactly as in the wiki page.
OK, understood.
I've listened to the recordings, but I cannot hear bad sounds, just some noise at beginning of recording.
Yes, that's the strange sound I'm referring to. When I'm saying "a strange sound" I mean this noise at the beginning, not general sound quality using Gsmopen. In spite of having bad signal quality I find the overall sound quality of Gsmopen quite good! As I was saying, sometimes it's 1. not there ,2. only a hiss, 3. sometimes a loud screech.
How do you obtain those recordings? Eg: the exact procedure you use to produce those files?
These particular recordings were done with FS itself just to save me the trouble of hooking up a telephone recording device. Unfortunately my Android phone does not support call recording. The exact procedure was calling out through a Google Voice extension into the Gsmopen endpoint number. This was only done for the convince of recording. The sound happens regardless of how you call in. For instance, here is a recording I made through a POTS line using this device: http://www.radioshack.com/product/index.jsp?productId=2104040 http://hartmanncomputer.com/via-POTS.wav Thanks again! Peter Hartmann Hartmann Computer Consulting On Mon, Mar 4, 2013 at 5:03 AM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
On Mon, Mar 4, 2013 at 3:16 AM, Peter Hartmann <peter@hartmanncomputer.com> wrote:
I'm using Ubuntu 12.04-amd64. I have done some optimizations for Linux Audio and USB audio. These do seem to have improved the sound quality through the dongle but they haven't solved this weird sound problem on incoming calls. If anyone's interested, my tweaks were; using the lowlatency kernel and adding 'snd-usb-audio nrpacks=1' to my /etc/modules.
Hello,
you would better unload any *any* snd* module from kernel. mod_gsmopen do not use the audio subsystem at all, and those module can't have a positive effect, quite possibly negative. mod_gsmopen has nothing to do with ALSA or OSS, and do not use sound at all.
You would be better served by an install that is exactly as in the wiki page.
mod_gsmopen exchange digital audio directly at sample level with the dongle, through the serial interface. That dongle is not seen as an audio card from the kernel, but as a modem (exactly as 4 modems).
Also, lowlatency kernel is not required or supported.
I've listened to the recordings, but I cannot hear bad sounds, just some noise at beginning of recording.
How do you obtain those recordings? Eg: the exact procedure you use to produce those files?
-giovanni
Has anyone experienced this sound?
Thanks much!
Peter Hartmann Hartmann Computer Consulting
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Mon, Mar 4, 2013 at 9:04 PM, Peter Hartmann <peter@hartmanncomputer.com> wrote:
Yes, that's the strange sound I'm referring to. When I'm saying "a strange sound" I mean this noise at the beginning, not general sound quality using Gsmopen. In spite of having bad signal quality I find the overall sound quality of Gsmopen quite good! As I was saying, sometimes it's 1. not there ,2. only a hiss, 3. sometimes a loud screech.
seems to be random data in the dongle serial pipeline. It's only at the beginning of phone call and do not reappear? I mean, can you heard strange sound artifacts other that at the beginning of the call? -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
seems to be random data in the dongle serial pipeline. It's only at the beginning of phone call and do not reappear?
Yes that's it exactly. Only at the beginning. Thanks, Peter Hartmann Hartmann Computer Consulting On Mon, Mar 4, 2013 at 3:43 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
On Mon, Mar 4, 2013 at 9:04 PM, Peter Hartmann <peter@hartmanncomputer.com> wrote:
Yes, that's the strange sound I'm referring to. When I'm saying "a strange sound" I mean this noise at the beginning, not general sound quality using Gsmopen. In spite of having bad signal quality I find the overall sound quality of Gsmopen quite good! As I was saying, sometimes it's 1. not there ,2. only a hiss, 3. sometimes a loud screech.
seems to be random data in the dongle serial pipeline. It's only at the beginning of phone call and do not reappear? I mean, can you heard strange sound artifacts other that at the beginning of the call?
-giovanni
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Mon, Mar 4, 2013 at 10:37 PM, Peter Hartmann <peter@hartmanncomputer.com> wrote:
seems to be random data in the dongle serial pipeline. It's only at the beginning of phone call and do not reappear?
Yes that's it exactly. Only at the beginning.
Please, open a Jira issue about it, http://jira.freeswitch.org so it does not get forgot. Thanks for reporting. -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Please, open a Jira issue about it, http://jira.freeswitch.org so it does not get forgot.
Thanks for reporting.
Will do. Thanks for your work! Peter Hartmann Hartmann Computer Consulting On Mon, Mar 4, 2013 at 4:47 PM, Giovanni Maruzzelli <gmaruzz@celliax.org> wrote:
On Mon, Mar 4, 2013 at 10:37 PM, Peter Hartmann <peter@hartmanncomputer.com> wrote:
seems to be random data in the dongle serial pipeline. It's only at the beginning of phone call and do not reappear?
Yes that's it exactly. Only at the beginning.
Please, open a Jira issue about it, http://jira.freeswitch.org so it does not get forgot.
Thanks for reporting.
-giovanni
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Giovanni Maruzzelli
-
Giovanni Maruzzelli
-
Peter Hartmann