VM sound very choppy
FS last git fusionpbx =========== Hi list, I'm testing FS w/ twinkle, put iLBC as first CODEC and don't follow far end CODEC preference. All extensions have proxy_media set. When I call the VM (*97) I get a very choppy audio. FS log says: [DEBUG] switch_ivr_play_say.c:1306 Codec Activated L16@8000hz 1 channels 30ms when twinkle says: ilbc I guess that the source of my problem, but how can I change that for FS to switch to iLBC? (I already modified CODECs names & orders into conf/vars.xml to set iLBX@30i first, and twinkle is also set to 30ms) Jean-Yves -- Question authority.
No need to worry about "L16" codec - that's talking about signed linear 16 bit audio, i.e. uncompressed, raw audio. If you're talking directly to FreeSWITCH, for example when you call voicemail or call an IVR, then the FreeSWITCH side will definitely be "L16". However, if you are connecting through to another device, like another telephone, then you'll see codec negotiation. Remember: when audio passes through FreeSWITCH it always gets decoded (unless you're using proxy media, but don't do that) and re-encoded, so you'll always see references to L16 which is the "decoded" audio. The primary reason for decoding everything is that FreeSWITCH can then do fun stuff like eavesdropping, mixing audio, conference calls, etc. You can't (easily) mix encoded audio. So... your issue is most likely not with a codec mismatch but rather timing on the VM. I'll defer to those who know more about VMs and such. -MC On Thu, Mar 22, 2012 at 9:23 AM, Bzzz <lazyvirus@gmx.com> wrote:
FS last git fusionpbx ===========
Hi list,
I'm testing FS w/ twinkle, put iLBC as first CODEC and don't follow far end CODEC preference. All extensions have proxy_media set.
When I call the VM (*97) I get a very choppy audio.
FS log says: [DEBUG] switch_ivr_play_say.c:1306 Codec Activated L16@8000hz1 channels 30ms when twinkle says: ilbc
I guess that the source of my problem, but how can I change that for FS to switch to iLBC? (I already modified CODECs names & orders into conf/vars.xml to set iLBX@30i first, and twinkle is also set to 30ms)
Jean-Yves -- Question authority.
_________________________________________________________________________ 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 Thu, 22 Mar 2012 09:53:10 -0700 Michael Collins <msc@freeswitch.org> wrote:
Remember: when audio passes through FreeSWITCH it always gets decoded (unless you're using proxy media, but don't do that)
Hmm, I was goofy on this one and didn't took notes about this choice, but I'm (almost) sure it was about ZRTP problems. I re-read the wiki about proxy_media and I changed "proxy_media" to "" into fusionpbx (possible choices are: "", "Bypass Media", "Bypass Media After Bridge" & "Proxy Media"), but even after a FS restart it's the same choppy sound (and logs):(
So... your issue is most likely not with a codec mismatch but rather timing on the VM. I'll defer to those who know more about VMs and such.
In order to privilege iLBC, I modified conf/vars.xml as follow: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=iLBC@30i,PCMA,PCMU,Speex@32000,GSM,G722,G7221@32000h,G7221@16000h"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=iLBC@30i,PCMA,PCMU,GSM"/> JY --
I have FS up and running with the awesome help of this community. I have a few minor bugs to workout. Some of my own doing (music on hold) but one that I can't trackdown or figure out the cause is when someone internally calls an extension and tries to leave a voice mail the system says something to the effect that the audio was below acceptable limit, basically it was too short. If the person at the extension picks up there is a slight pause and then you can talk with no issues and the audio sounds great. If the same extension is called from an outside line and the call goes to VM there are no problems leaving a message. Pastebin of the log http://pastebin.freeswitch.org/18723 -Rob
Are you on real hardware, or on a virtual machine? /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Robert Longfield [robert.longfield@klinsight.com] Skickat: den 22 mars 2012 20:16 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] Internal VM Audio is below acceptable limit I have FS up and running with the awesome help of this community. I have a few minor bugs to workout. Some of my own doing (music on hold) but one that I can't trackdown or figure out the cause is when someone internally calls an extension and tries to leave a voice mail the system says something to the effect that the audio was below acceptable limit, basically it was too short. If the person at the extension picks up there is a slight pause and then you can talk with no issues and the audio sounds great. If the same extension is called from an outside line and the call goes to VM there are no problems leaving a message. Pastebin of the log http://pastebin.freeswitch.org/18723 -Rob _________________________________________________________________________ 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 !DSPAM:4f6b791732761084654857!
Hey Peter, Thank for the question. We have a mixture of softphones on computers and mobiles and handsets connected on a ATA box. It seems that the handsets can leave VM but the softphones cannot. I would never have thought of grabbing a handset to test this. For the office this won't be a problem for too long as we are moving to phones but we do have the option of working from home and those cases require softphones to work. -Rob -----Original Message----- From: Peter Olsson Sent: Thursday, March 22, 2012 3:26 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Internal VM Audio is below acceptable limit Are you on real hardware, or on a virtual machine? /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Robert Longfield [robert.longfield@klinsight.com] Skickat: den 22 mars 2012 20:16 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] Internal VM Audio is below acceptable limit I have FS up and running with the awesome help of this community. I have a few minor bugs to workout. Some of my own doing (music on hold) but one that I can't trackdown or figure out the cause is when someone internally calls an extension and tries to leave a voice mail the system says something to the effect that the audio was below acceptable limit, basically it was too short. If the person at the extension picks up there is a slight pause and then you can talk with no issues and the audio sounds great. If the same extension is called from an outside line and the call goes to VM there are no problems leaving a message. Pastebin of the log http://pastebin.freeswitch.org/18723 -Rob _________________________________________________________________________ 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 !DSPAM:4f6b791732761084654857! _________________________________________________________________________ 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
Actually, I believe what he was asking about was the actual server, although the info you provided already does give us some insight into your setup. Is the freeswitch instance running on virtual or real hardware? -BDF On Mar 22, 2012 3:41 PM, "Robert Longfield" <robert.longfield@klinsight.com> wrote:
Hey Peter,
Thank for the question. We have a mixture of softphones on computers and mobiles and handsets connected on a ATA box. It seems that the handsets can leave VM but the softphones cannot. I would never have thought of grabbing a handset to test this. For the office this won't be a problem for too long as we are moving to phones but we do have the option of working from home and those cases require softphones to work.
-Rob
-----Original Message----- From: Peter Olsson Sent: Thursday, March 22, 2012 3:26 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Internal VM Audio is below acceptable limit
Are you on real hardware, or on a virtual machine?
/Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Robert Longfield [robert.longfield@klinsight.com] Skickat: den 22 mars 2012 20:16 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] Internal VM Audio is below acceptable limit
I have FS up and running with the awesome help of this community. I have a few minor bugs to workout. Some of my own doing (music on hold) but one that I can't trackdown or figure out the cause is when someone internally calls an extension and tries to leave a voice mail the system says something to the effect that the audio was below acceptable limit, basically it was too short. If the person at the extension picks up there is a slight pause and then you can talk with no issues and the audio sounds great.
If the same extension is called from an outside line and the call goes to VM there are no problems leaving a message.
Pastebin of the log http://pastebin.freeswitch.org/18723
-Rob
_________________________________________________________________________ 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
!DSPAM:4f6b791732761084654857!
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Ah, FS is running on a VPS. From: Brian Foster Sent: Thursday, March 22, 2012 4:04 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Internal VM Audio is below acceptable limit Actually, I believe what he was asking about was the actual server, although the info you provided already does give us some insight into your setup. Is the freeswitch instance running on virtual or real hardware? -BDF On Mar 22, 2012 3:41 PM, "Robert Longfield" <robert.longfield@klinsight.com> wrote: Hey Peter, Thank for the question. We have a mixture of softphones on computers and mobiles and handsets connected on a ATA box. It seems that the handsets can leave VM but the softphones cannot. I would never have thought of grabbing a handset to test this. For the office this won't be a problem for too long as we are moving to phones but we do have the option of working from home and those cases require softphones to work. -Rob -----Original Message----- From: Peter Olsson Sent: Thursday, March 22, 2012 3:26 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Internal VM Audio is below acceptable limit Are you on real hardware, or on a virtual machine? /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Robert Longfield [robert.longfield@klinsight.com] Skickat: den 22 mars 2012 20:16 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] Internal VM Audio is below acceptable limit I have FS up and running with the awesome help of this community. I have a few minor bugs to workout. Some of my own doing (music on hold) but one that I can't trackdown or figure out the cause is when someone internally calls an extension and tries to leave a voice mail the system says something to the effect that the audio was below acceptable limit, basically it was too short. If the person at the extension picks up there is a slight pause and then you can talk with no issues and the audio sounds great. If the same extension is called from an outside line and the call goes to VM there are no problems leaving a message. Pastebin of the log http://pastebin.freeswitch.org/18723 -Rob _________________________________________________________________________ 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 !DSPAM:4f6b791732761084654857! _________________________________________________________________________ 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 _________________________________________________________________________ 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 -------------------------------------------------------------------------------- _________________________________________________________________________ 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 Thu, 22 Mar 2012 09:53:10 -0700 Michael Collins <msc@freeswitch.org> wrote: I'm really lost: I greped the log and *there is* a CODEC negotiation when FS receives '*97', but not when the VM answers!? --
pastebin.freeswitch.org please -MC On Thu, Mar 22, 2012 at 10:19 AM, Bzzz <lazyvirus@gmx.com> wrote:
On Thu, 22 Mar 2012 09:53:10 -0700 Michael Collins <msc@freeswitch.org> wrote:
I'm really lost: I greped the log and *there is* a CODEC negotiation when FS receives '*97', but not when the VM answers!?
On Thu, 22 Mar 2012 10:21:58 -0700 Michael Collins <msc@freeswitch.org> wrote:
pastebin.freeswitch.org please
http://pastebin.freeswitch.org/18721 -- BOFH excuse #100: IRQ dropout
On Thu, 22 Mar 2012 10:21:58 -0700 Michael Collins <msc@freeswitch.org> wrote: That the same thing when I put a call on hold: http://pastebin.freeswitch.org/18724 -- For some reason, this fortune reminds everyone of Marvin Zelkowitz.
On Fri, 23 Mar 2012 00:44:23 +0100 Bzzz <lazyvirus@gmx.com> wrote: Hmm, weird: I deactivated "Proxy Media" into fusionpbx (so, I lost ZRTP as I don't have the SDK at this time), and now I've got a reinvite codec error: when I put a line on hold, moh's there but won't ever cut when taking the line back. http://pastebin.freeswitch.org/18725 JY --
participants (5)
-
Brian Foster
-
Bzzz
-
Michael Collins
-
Peter Olsson
-
Robert Longfield