got <br><br>2009-10-12 01:41:30.349961 [WARNING] switch_core_file.c:133 File has 2 channels, muxing to mono will occur.<br>
2009-10-12
01:41:30.349961 [ERR] switch_core_codec.c:431 Stereo is currently
unsupported. please downsample audio source to mono.<br><br>freeswitch@internal&gt; <br>freeswitch@internal&gt; version<br>FreeSWITCH Version 1.0.trunk (14696)<br><br><br>originate {ignore_early_media=true,RECORD_STEREO=true}sofia/gateway/xx/xx &amp;bridge(sofia/gateway/yy/yy)<br>
<br>uuid_record uuid start /tmp/a.wav<br><br><br><br>play by sox:<br><br>Input File     : &#39;a.wav&#39;<br>Sample Size    : 16-bit (2 bytes)<br>Sample Encoding: signed (2&#39;s complement)<br>Channels       : 2<br>Sample Rate    : 8000<br>
<br><br>full logs here:<br><br>freeswitch@internal&gt; originate
{ignore_early_media=true}sofia/gateway/skype/seven1240
&amp;playback(/tmp/a.wav) +OK dcbd971e-c570-481d-843a-0c5582669c69<br><br>2009-10-12 01:41:26.89775 [DEBUG] switch_ivr_originate.c:1043 variable string 0 = [ignore_early_media=true]<br>freeswitch@internal&gt; 2009-10-12 01:41:26.89775 [NOTICE] switch_channel.c:602 New Channel sofia/eqenglish/seven1240 [dcbd971e-c570-481d-843a-0c5582669c69]<br>
2009-10-12 01:41:26.89775 [DEBUG] mod_sofia.c:2867 (sofia/eqenglish/seven1240) State Change CS_NEW -&gt; CS_INIT<br>2009-10-12 01:41:26.89775 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]<br>
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_INIT<br>2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:481 (sofia/eqenglish/seven1240) State INIT<br>
2009-10-12 01:41:26.89775 [DEBUG] mod_sofia.c:83 sofia/eqenglish/seven1240 SOFIA INIT<br>2009-10-12 01:41:26.89775 [DEBUG] mod_sofia.c:111 (sofia/eqenglish/seven1240) State Change CS_INIT -&gt; CS_ROUTING<br>2009-10-12 01:41:26.89775 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]<br>
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:481 (sofia/eqenglish/seven1240) State INIT going to sleep<br>2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_ROUTING<br>
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:484 (sofia/eqenglish/seven1240) State ROUTING<br>2009-10-12 01:41:26.89775 [DEBUG] mod_sofia.c:130 sofia/eqenglish/seven1240 SOFIA ROUTING<br>2009-10-12 01:41:26.89775 [DEBUG] switch_ivr_originate.c:63 (sofia/eqenglish/seven1240) State Change CS_ROUTING -&gt; CS_CONSUME_MEDIA<br>
2009-10-12 01:41:26.89775 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]<br>2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:484 (sofia/eqenglish/seven1240) State ROUTING going to sleep<br>
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_CONSUME_MEDIA<br>2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:503 (sofia/eqenglish/seven1240) State CONSUME_MEDIA<br>
2009-10-12 01:41:26.89775 [DEBUG] sofia.c:3302 Channel sofia/eqenglish/seven1240 entering state [calling][0]<br>2009-10-12 01:41:26.169828 [DEBUG] sofia.c:3302 Channel sofia/eqenglish/seven1240 entering state [calling][0]<br>
2009-10-12 01:41:28.700782 [DEBUG] sofia.c:3302 Channel sofia/eqenglish/seven1240 entering state [proceeding][180]<br>2009-10-12 01:41:28.700782 [NOTICE] sofia.c:3366 Ring-Ready sofia/eqenglish/seven1240!<br>2009-10-12 01:41:30.330095 [DEBUG] sofia.c:3302 Channel sofia/eqenglish/seven1240 entering state [ready][200]<br>
2009-10-12 01:41:30.330095 [DEBUG] sofia.c:3309 Remote SDP:<br>v=0<br>o=FreeSWITCH 1255290734 1255290735 IN IP4 67.228.224.149<br>s=FreeSWITCH<br>c=IN IP4 127.0.0.1<br>t=0 0<br>m=audio 20956 RTP/AVP 0 101 13<br>a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=rtpmap:13 CN/8000<br>a=ptime:20<br><br>2009-10-12 01:41:30.330095 [DEBUG] sofia_glue.c:3132 Audio Codec Compare [PCMU:0:8000:20]/[PCMU:0:8000:20]<br>2009-10-12 01:41:30.330095 [DEBUG] sofia_glue.c:2090 Set Codec sofia/eqenglish/seven1240 PCMU/8000 20 ms 160 samples<br>
2009-10-12 01:41:30.330095 [DEBUG] sofia_glue.c:3092 Set 2833 dtmf payload to 101<br>2009-10-12 01:41:30.330095 [DEBUG] sofia_glue.c:2324 AUDIO RTP [sofia/eqenglish/seven1240] 67.228.224.149 port 24862 -&gt; 127.0.0.1 port 20956 codec: 0 ms: 20<br>
2009-10-12 01:41:30.330095 [DEBUG] switch_rtp.c:1139 Starting timer [soft] 160 bytes per 20ms<br>2009-10-12 01:41:30.339941 [DEBUG] sofia_glue.c:2503 Set comfort noise payload to 13<br>2009-10-12 01:41:30.339941 [NOTICE] sofia.c:3807 Channel [sofia/eqenglish/seven1240] has been answered<br>
2009-10-12 01:41:30.339941 [DEBUG] switch_channel.c:182 sofia/eqenglish/seven1240 receive message [AUDIO_SYNC]<br>2009-10-12 01:41:30.339941 [NOTICE] switch_cpp.cpp:1130 ==DebugVar== gateway_name: skype<br>2009-10-12 01:41:30.349961 [DEBUG] switch_ivr_originate.c:2089 Originate Resulted in Success: [sofia/eqenglish/seven1240]<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_channel.c:182 sofia/eqenglish/seven1240 receive message [AUDIO_SYNC]<br>2009-10-12 01:41:30.349961 [DEBUG] mod_commands.c:2334 (sofia/eqenglish/seven1240) State Change CS_CONSUME_MEDIA -&gt; CS_EXECUTE<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:503 (sofia/eqenglish/seven1240) State CONSUME_MEDIA going to sleep<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_EXECUTE<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:491 (sofia/eqenglish/seven1240) State EXECUTE<br>
2009-10-12 01:41:30.349961 [DEBUG] mod_sofia.c:173 sofia/eqenglish/seven1240 SOFIA EXECUTE<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:151 sofia/eqenglish/seven1240 Standard EXECUTE<br>EXECUTE sofia/eqenglish/seven1240 playback(/tmp/a.wav)<br>
2009-10-12 01:41:30.349961 [WARNING] switch_core_file.c:133 File has 2 channels, muxing to mono will occur.<br>2009-10-12 01:41:30.349961 [ERR] switch_core_codec.c:431 Stereo is currently unsupported. please downsample audio source to mono.<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_ivr_play_say.c:1113 Raw Codec Activation Failed L16@8000hz 2 channels 20ms<br>2009-10-12 01:41:30.349961 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/eqenglish/seven1240 [CS_EXECUTE] [NORMAL_CLEARING]<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_channel.c:1715 Send signal sofia/eqenglish/seven1240 [KILL]<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:491 (sofia/eqenglish/seven1240) State EXECUTE going to sleep<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_HANGUP<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:434 (sofia/eqenglish/seven1240) State HANGUP<br>
2009-10-12 01:41:30.349961 [DEBUG] mod_sofia.c:338 Channel sofia/eqenglish/seven1240 hanging up, cause: NORMAL_CLEARING<br>2009-10-12 01:41:30.349961 [DEBUG] mod_sofia.c:376 Sending BYE to sofia/eqenglish/seven1240<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:46 sofia/eqenglish/seven1240 Standard HANGUP, cause: NORMAL_CLEARING<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:434 (sofia/eqenglish/seven1240) State HANGUP going to sleep<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:476 (sofia/eqenglish/seven1240) State Change CS_HANGUP -&gt; CS_REPORTING<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_REPORTING<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:613 (sofia/eqenglish/seven1240) State REPORTING<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:53 sofia/eqenglish/seven1240 Standard REPORTING, cause: NORMAL_CLEARING<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:613 (sofia/eqenglish/seven1240) State REPORTING going to sleep<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:411 (sofia/eqenglish/seven1240) State Change CS_REPORTING -&gt; CS_DESTROY<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:1068 Session 2178 (sofia/eqenglish/seven1240) Locked, Waiting on external entities<br>
2009-10-12 01:41:30.349961 [NOTICE] switch_core_session.c:1086 Session 2178 (sofia/eqenglish/seven1240) Ended<br>2009-10-12 01:41:30.349961 [NOTICE] switch_core_session.c:1088 Close Channel sofia/eqenglish/seven1240 [CS_DESTROY]<br>
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:556 (sofia/eqenglish/seven1240) Running State Change CS_DESTROY<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:565 (sofia/eqenglish/seven1240) State DESTROY<br>
2009-10-12 01:41:30.349961 [DEBUG] mod_sofia.c:255 sofia/eqenglish/seven1240 SOFIA DESTROY<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:60 sofia/eqenglish/seven1240 Standard DESTROY<br>2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:565 (sofia/eqenglish/seven1240) State DESTROY going to sleep<br>
2009-10-12 01:41:30.349961 [NOTICE] switch_cpp.cpp:1130 ==DebugVar== gateway_name: skype<br><br><br><div class="gmail_quote">2009/10/12 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;">FreeSWITCH can play back stereo files it&#39;ll just mux them down to mono before playing... can you elaborate on the error you&#39;re getting?<div>
<br></div><font color="#888888"><div>/b</div></font><div class="im"><div><br><div><div>On Oct 10, 2009, at 12:40 AM, Seven Du wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Yes, it&#39;s discussed before.<br>
<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#RECORD_STEREO" target="_blank">http://wiki.freeswitch.org/wiki/Channel_Variables#RECORD_STEREO</a><br><br>set that var to false before you record.<br></span></blockquote>
</div><br></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>