[Freeswitch-users] Recording problem speed and noise

Anthony Minessale anthony.minessale at gmail.com
Wed Sep 26 23:52:12 MSD 2012


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>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>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> wrote:
>>
>>> On 26.09.2012 04 <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
>>> 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
>>>
>>
>>
>>
>>  --
>> 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
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>>
>
>
>  --
> 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
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> 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
>
>


-- 
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
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120926/1dbd83c4/attachment-0001.html 


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