I just tested this and it's working for me. Please update to the latest code and reproduce, if you still have the issue report it as a jira to http://jira.freeswitch.org Include a full console trace of the offending call and the example file. sofia global siptrace on sofia tracelevel alert console loglevel debug On Thu, Apr 4, 2013 at 10:06 AM, <fs@tcowan.net> wrote:
On 04-02-2013 05:17, Steven Schoch wrote:
On Tue, Apr 2, 2013 at 10:28 AM, <fs@tcowan.net> wrote:
If I try to import the audio as raw format in audacity you can hear some high pitched talking that plays back very quickly.
When you import as raw data, try changing the sample rate to 8000.
The reason Audacity can't open the file is because the header, which specifies the encoding, channels, sample rate, etc. is damaged or missing.
-- Steve _________________________________________________________________________ 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
Well why would the header to damaged or missing. I have updated the config to the following and it still doesnt work. If I look at the header info with windows by going to file properties it doesnt list anything in the header info. The file is just a bunch of high pitched noise if I dont import as raw. I can hear the audio fine when importing raw and 8000hz rate. I am not sure what else I need to do to make this work.
I followed the steps listed on: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session
<extension name="bandwidth.10d" > <condition field="destination_number" expression="^(\d{10})$" > <action application="set" data="sip_h_X-accountcode=${accountcode}" /> <action application="set" data="sip_h_X-Tag=" /> <action application="set" data="call_direction=outbound" /> <action application="set" data="hangup_after_bridge=true" /> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}" /> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}" /> <action application="set" data="inherit_codec=true" /> <action application="set" data="record_sample_rate=8000" /> <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}" /> <action application="set" data="RECORD_SOFTWARE=FreeSWITCH" /> <action application="set" data="RECORD_STEREO=true" /> <action application="set" data="RECORD_DATE=${strftime(%m-%d-%Y %H:%M)}" /> <action application="set" data="RECORD_ARTIST=FreeSWITCH" /> <action application="set" data="RECORD_COPYRIGHT=(c) 2013" /> <action application="set" data="RECORD_COMMENT=FreeSWITCH" /> <action application="record_session"
data="$${base_dir}/recordings/${domain_name}/outbound10d-${strftime(%m-%d-%Y-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav" /> <action application="bridge" data="sofia/gateway/customer1-bandwidth/$1" /> </condition> </extension>
_________________________________________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900