[Freeswitch-users] Recording problem speed and noise

Tiago N. Sampaio tnsampaio at bsd.com.br
Thu Sep 27 00:34:26 MSD 2012


Now if i use speex at 8000 it records normally now...
I will let it as is for now!
On next weekend i will try this to get more information!!

Thx for help!

Em 26/09/2012 16:52, Anthony Minessale escreveu:
> maybe edit the code and print out values like the frame datalen or 
> samples in the read_frame function in the mod and see if you can see 
> anything odd.
>
>
> On Wed, Sep 26, 2012 at 1:49 PM, Tiago N. Sampaio 
> <tnsampaio at bsd.com.br <mailto:tnsampaio at bsd.com.br>> wrote:
>
>     The problem is to debug it...
>     I didnt saw anything in logs or debug.....
>     Can you tell me a way to debug it?
>
>     Em 26/09/2012 15:30, Anthony Minessale escreveu:
>>     Must be a khomp specific issue.  Maybe the frames coming from it
>>     are reporting the wrong size or something...
>>
>>
>>     On Wed, Sep 26, 2012 at 1:01 PM, Tiago N. Sampaio
>>     <tnsampaio at bsd.com.br <mailto:tnsampaio at bsd.com.br>> wrote:
>>
>>         This is an example...
>>
>>                         <extension name="numero_local">
>>                                 <condition field="destination_number"
>>         expression="^(\d{8})$">
>>                                         <action
>>         application="bind_meta_app" data="3 a a
>>         execute_extension::att_xfer XML features"/>
>>                                         <action application="set"
>>         data="RECORD_TITLE=Recording ${destination_number}
>>         ${caller_id_number} ${strftime(%d/%m/%Y %H:%M)}"/>
>>                                         <action application="set"
>>         data="RECORD_COPYRIGHT=(c) SAMGAR"/>
>>                                         <action application="set"
>>         data="RECORD_SOFTWARE=SGIPBX v1.0"/>
>>                                         <action application="set"
>>         data="RECORD_ARTIST=SAMGAR"/>
>>                                         <action application="set"
>>         data="RECORD_COMMENT=GRAVACAO DE CONVERSACAO"/>
>>                                         <action application="set"
>>         data="RECORD_DATE=${strftime(%d/%m/%Y %H:%M)}"/>
>>                                         <action application="set"
>>         data="RECORD_STEREO=true"/>
>>                                         <action application="set"
>>         data="media_bug_answer_req=true"/>
>>                                         <action
>>         application="record_session"
>>         data="/dados/ligacoes/saida/${strftime(%Y/%m/%d/%H-%M)}_${caller_id_number}_${destination_number}.wav"/>
>>                                         <action application="bridge"
>>         data="Khomp/b0/$1" />
>>                                 </condition>
>>                         </extension>
>>
>>         in any format issue occurs...
>>
>>         Em 26/09/2012 14:45, Anthony Minessale escreveu:
>>>         What method are you using to record?
>>>
>>>         On Wed, Sep 26, 2012 at 2:05 AM, Vbvbrj <vbvbrj at gmail.com
>>>         <mailto:vbvbrj at gmail.com>> wrote:
>>>
>>>             On 26.09.2012 04 <tel:26.09.2012%2004>:55, Tiago Sampaio
>>>             wrote:
>>>             > I tested with 1.3.0, and the problem still occours...
>>>             >
>>>             > Testing to better debug the issue, i can reach this:
>>>             >
>>>             > PSTN -> FS -> user/1000 (record ok!)
>>>             > user/1000 -> FS -> user/1001 (record ok!)
>>>             > user/1000 -> FS -> PSTN problem occurs..
>>>
>>>             So problem occur when an VoIP client calls the PSTN
>>>             client, ie an
>>>             outbound call from FS to PSTN. Checkout in vars.xml the
>>>             option
>>>             outbound_codec_prefs and it must contain the same
>>>             codecs, especialy PCMU
>>>             or PCMA.
>>>
>>>             --
>>>             Mimiko desu.
>>>
>>>             _________________________________________________________________________
>>>             Professional FreeSWITCH Consulting Services:
>>>             consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>             http://www.freeswitchsolutions.com
>>>
>>>             
>>>             
>>>
>>>             Official FreeSWITCH Sites
>>>             http://www.freeswitch.org
>>>             http://wiki.freeswitch.org
>>>             http://www.cluecon.com
>>>
>>>             FreeSWITCH-users mailing list
>>>             FreeSWITCH-users at lists.freeswitch.org
>>>             <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>             http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>             UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>             http://www.freeswitch.org
>>>
>>>
>>>
>>>
>>>         -- 
>>>         Anthony Minessale II
>>>
>>>         FreeSWITCH http://www.freeswitch.org/
>>>         ClueCon http://www.cluecon.com/
>>>         Twitter: http://twitter.com/FreeSWITCH_wire
>>>
>>>         AIM: anthm
>>>         MSN:anthony_minessale at hotmail.com
>>>         <mailto:MSN%3Aanthony_minessale at hotmail.com>
>>>         GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>         <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
>>>         IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>>>
>>>         FreeSWITCH Developer Conference
>>>         sip:888 at conference.freeswitch.org
>>>         <mailto:sip%3A888 at conference.freeswitch.org>
>>>         googletalk:conf+888 at conference.freeswitch.org
>>>         <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
>>>         pstn:+19193869900 <tel:%2B19193869900>
>>>
>>>
>>>         _________________________________________________________________________
>>>         Professional FreeSWITCH Consulting Services:
>>>         consulting at freeswitch.org  <mailto:consulting at freeswitch.org>
>>>         http://www.freeswitchsolutions.com
>>>
>>>         
>>>         
>>>
>>>         Official FreeSWITCH Sites
>>>         http://www.freeswitch.org
>>>         http://wiki.freeswitch.org
>>>         http://www.cluecon.com
>>>
>>>         FreeSWITCH-users mailing list
>>>         FreeSWITCH-users at lists.freeswitch.org  <mailto:FreeSWITCH-users at 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 at freeswitch.org <mailto:consulting at freeswitch.org>
>>         http://www.freeswitchsolutions.com
>>
>>         
>>         
>>
>>         Official FreeSWITCH Sites
>>         http://www.freeswitch.org
>>         http://wiki.freeswitch.org
>>         http://www.cluecon.com
>>
>>         FreeSWITCH-users mailing list
>>         FreeSWITCH-users at lists.freeswitch.org
>>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>         http://www.freeswitch.org
>>
>>
>>
>>
>>     -- 
>>     Anthony Minessale II
>>
>>     FreeSWITCH http://www.freeswitch.org/
>>     ClueCon http://www.cluecon.com/
>>     Twitter: http://twitter.com/FreeSWITCH_wire
>>
>>     AIM: anthm
>>     MSN:anthony_minessale at hotmail.com
>>     <mailto:MSN%3Aanthony_minessale at hotmail.com>
>>     GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>     <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
>>     IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>>
>>     FreeSWITCH Developer Conference
>>     sip:888 at conference.freeswitch.org
>>     <mailto:sip%3A888 at conference.freeswitch.org>
>>     googletalk:conf+888 at conference.freeswitch.org
>>     <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
>>     pstn:+19193869900 <tel:%2B19193869900>
>>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org  <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com
>>
>>     
>>     
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://wiki.freeswitch.org
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org  <mailto:FreeSWITCH-users at 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 at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> -- 
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com 
> <mailto:MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com 
> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org 
> <mailto:sip%3A888 at conference.freeswitch.org>
> googletalk:conf+888 at conference.freeswitch.org 
> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120926/582cce62/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list