View previous topic :: View next topic |
Author |
Message |
nagalenoj at gmail.com Guest
|
|
Back to top |
|
|
mike at jerris.com Guest
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Oct 11, 2009 7:02 pm Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
FreeSWITCH can play back stereo files it'll just mux them down to mono before playing... can you elaborate on the error you're getting?
/b
On Oct 10, 2009, at 12:40 AM, Seven Du wrote:
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Sun Oct 11, 2009 8:57 pm Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
got
2009-10-12 01:41:30.349961 [WARNING] switch_core_file.c:133 File has 2 channels, muxing to mono will occur.
2009-10-12 01:41:30.349961 [ERR] switch_core_codec.c:431 Stereo is currently unsupported. please downsample audio source to mono.
freeswitch@internal>
freeswitch@internal> version
FreeSWITCH Version 1.0.trunk (14696)
originate {ignore_early_media=true,RECORD_STEREO=true}sofia/gateway/xx/xx &bridge(sofia/gateway/yy/yy)
uuid_record uuid start /tmp/a.wav
play by sox:
Input File : 'a.wav'
Sample Size : 16-bit (2 bytes)
Sample Encoding: signed (2's complement)
Channels : 2
Sample Rate : 8000
full logs here:
freeswitch@internal> originate {ignore_early_media=true}sofia/gateway/skype/seven1240 &playback(/tmp/a.wav) +OK dcbd971e-c570-481d-843a-0c5582669c69
2009-10-12 01:41:26.89775 [DEBUG] switch_ivr_originate.c:1043 variable string 0 = [ignore_early_media=true]
freeswitch@internal> 2009-10-12 01:41:26.89775 [NOTICE] switch_channel.c:602 New Channel sofia/eqenglish/seven1240 [dcbd971e-c570-481d-843a-0c5582669c69]
2009-10-12 01:41:26.89775 [DEBUG] mod_sofia.c:2867 (sofia/eqenglish/seven1240) State Change CS_NEW -> CS_INIT
2009-10-12 01:41:26.89775 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_INIT
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:481 (sofia/eqenglish/seven1240) State INIT
2009-10-12 01:41:26.89775 [DEBUG] mod_sofia.c:83 sofia/eqenglish/seven1240 SOFIA INIT
2009-10-12 01:41:26.89775 [DEBUG] mod_sofia.c:111 (sofia/eqenglish/seven1240) State Change CS_INIT -> CS_ROUTING
2009-10-12 01:41:26.89775 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:481 (sofia/eqenglish/seven1240) State INIT going to sleep
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_ROUTING
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:484 (sofia/eqenglish/seven1240) State ROUTING
2009-10-12 01:41:26.89775 [DEBUG] mod_sofia.c:130 sofia/eqenglish/seven1240 SOFIA ROUTING
2009-10-12 01:41:26.89775 [DEBUG] switch_ivr_originate.c:63 (sofia/eqenglish/seven1240) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2009-10-12 01:41:26.89775 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:484 (sofia/eqenglish/seven1240) State ROUTING going to sleep
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_CONSUME_MEDIA
2009-10-12 01:41:26.89775 [DEBUG] switch_core_state_machine.c:503 (sofia/eqenglish/seven1240) State CONSUME_MEDIA
2009-10-12 01:41:26.89775 [DEBUG] sofia.c:3302 Channel sofia/eqenglish/seven1240 entering state [calling][0]
2009-10-12 01:41:26.169828 [DEBUG] sofia.c:3302 Channel sofia/eqenglish/seven1240 entering state [calling][0]
2009-10-12 01:41:28.700782 [DEBUG] sofia.c:3302 Channel sofia/eqenglish/seven1240 entering state [proceeding][180]
2009-10-12 01:41:28.700782 [NOTICE] sofia.c:3366 Ring-Ready sofia/eqenglish/seven1240!
2009-10-12 01:41:30.330095 [DEBUG] sofia.c:3302 Channel sofia/eqenglish/seven1240 entering state [ready][200]
2009-10-12 01:41:30.330095 [DEBUG] sofia.c:3309 Remote SDP:
v=0
o=FreeSWITCH 1255290734 1255290735 IN IP4 67.228.224.149
s=FreeSWITCH
c=IN IP4 127.0.0.1
t=0 0
m=audio 20956 RTP/AVP 0 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
2009-10-12 01:41:30.330095 [DEBUG] sofia_glue.c:3132 Audio Codec Compare [PCMU:0:8000:20]/[PCMU:0:8000:20]
2009-10-12 01:41:30.330095 [DEBUG] sofia_glue.c:2090 Set Codec sofia/eqenglish/seven1240 PCMU/8000 20 ms 160 samples
2009-10-12 01:41:30.330095 [DEBUG] sofia_glue.c:3092 Set 2833 dtmf payload to 101
2009-10-12 01:41:30.330095 [DEBUG] sofia_glue.c:2324 AUDIO RTP [sofia/eqenglish/seven1240] 67.228.224.149 port 24862 -> 127.0.0.1 port 20956 codec: 0 ms: 20
2009-10-12 01:41:30.330095 [DEBUG] switch_rtp.c:1139 Starting timer [soft] 160 bytes per 20ms
2009-10-12 01:41:30.339941 [DEBUG] sofia_glue.c:2503 Set comfort noise payload to 13
2009-10-12 01:41:30.339941 [NOTICE] sofia.c:3807 Channel [sofia/eqenglish/seven1240] has been answered
2009-10-12 01:41:30.339941 [DEBUG] switch_channel.c:182 sofia/eqenglish/seven1240 receive message [AUDIO_SYNC]
2009-10-12 01:41:30.339941 [NOTICE] switch_cpp.cpp:1130 ==DebugVar== gateway_name: skype
2009-10-12 01:41:30.349961 [DEBUG] switch_ivr_originate.c:2089 Originate Resulted in Success: [sofia/eqenglish/seven1240]
2009-10-12 01:41:30.349961 [DEBUG] switch_channel.c:182 sofia/eqenglish/seven1240 receive message [AUDIO_SYNC]
2009-10-12 01:41:30.349961 [DEBUG] mod_commands.c:2334 (sofia/eqenglish/seven1240) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:503 (sofia/eqenglish/seven1240) State CONSUME_MEDIA going to sleep
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_EXECUTE
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:491 (sofia/eqenglish/seven1240) State EXECUTE
2009-10-12 01:41:30.349961 [DEBUG] mod_sofia.c:173 sofia/eqenglish/seven1240 SOFIA EXECUTE
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:151 sofia/eqenglish/seven1240 Standard EXECUTE
EXECUTE sofia/eqenglish/seven1240 playback(/tmp/a.wav)
2009-10-12 01:41:30.349961 [WARNING] switch_core_file.c:133 File has 2 channels, muxing to mono will occur.
2009-10-12 01:41:30.349961 [ERR] switch_core_codec.c:431 Stereo is currently unsupported. please downsample audio source to mono.
2009-10-12 01:41:30.349961 [DEBUG] switch_ivr_play_say.c:1113 Raw Codec Activation Failed L16@8000hz 2 channels 20ms
2009-10-12 01:41:30.349961 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/eqenglish/seven1240 [CS_EXECUTE] [NORMAL_CLEARING]
2009-10-12 01:41:30.349961 [DEBUG] switch_channel.c:1715 Send signal sofia/eqenglish/seven1240 [KILL]
2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:491 (sofia/eqenglish/seven1240) State EXECUTE going to sleep
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_HANGUP
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:434 (sofia/eqenglish/seven1240) State HANGUP
2009-10-12 01:41:30.349961 [DEBUG] mod_sofia.c:338 Channel sofia/eqenglish/seven1240 hanging up, cause: NORMAL_CLEARING
2009-10-12 01:41:30.349961 [DEBUG] mod_sofia.c:376 Sending BYE to sofia/eqenglish/seven1240
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:46 sofia/eqenglish/seven1240 Standard HANGUP, cause: NORMAL_CLEARING
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:434 (sofia/eqenglish/seven1240) State HANGUP going to sleep
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:476 (sofia/eqenglish/seven1240) State Change CS_HANGUP -> CS_REPORTING
2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:398 (sofia/eqenglish/seven1240) Running State Change CS_REPORTING
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:613 (sofia/eqenglish/seven1240) State REPORTING
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:53 sofia/eqenglish/seven1240 Standard REPORTING, cause: NORMAL_CLEARING
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:613 (sofia/eqenglish/seven1240) State REPORTING going to sleep
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:411 (sofia/eqenglish/seven1240) State Change CS_REPORTING -> CS_DESTROY
2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:932 Send signal sofia/eqenglish/seven1240 [BREAK]
2009-10-12 01:41:30.349961 [DEBUG] switch_core_session.c:1068 Session 2178 (sofia/eqenglish/seven1240) Locked, Waiting on external entities
2009-10-12 01:41:30.349961 [NOTICE] switch_core_session.c:1086 Session 2178 (sofia/eqenglish/seven1240) Ended
2009-10-12 01:41:30.349961 [NOTICE] switch_core_session.c:1088 Close Channel sofia/eqenglish/seven1240 [CS_DESTROY]
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:556 (sofia/eqenglish/seven1240) Running State Change CS_DESTROY
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:565 (sofia/eqenglish/seven1240) State DESTROY
2009-10-12 01:41:30.349961 [DEBUG] mod_sofia.c:255 sofia/eqenglish/seven1240 SOFIA DESTROY
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:60 sofia/eqenglish/seven1240 Standard DESTROY
2009-10-12 01:41:30.349961 [DEBUG] switch_core_state_machine.c:565 (sofia/eqenglish/seven1240) State DESTROY going to sleep
2009-10-12 01:41:30.349961 [NOTICE] switch_cpp.cpp:1130 ==DebugVar== gateway_name: skype
2009/10/12 Brian West <brian@freeswitch.org (brian@freeswitch.org)>
|
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Sun Oct 11, 2009 9:39 pm Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
I set to true because brian said it can play stereo files but no lucky for me.
2009/10/12 Jason White <jason@jasonjgw.net (jason@jasonjgw.net)>
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Oct 11, 2009 10:13 pm Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
Please open a jira please this did work but a recent change in
switch_core_codec caused this to appear I usually test this regularly
but haven't run thru a full run of tests lately.
/b
On Oct 11, 2009, at 9:27 PM, Seven Du wrote:
Quote: | I set to true because brian said it can play stereo files but no
lucky for me.
|
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Oct 11, 2009 10:46 pm Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
not sure I said this but open a jira... its a bug thats recent... usually it will mux them to mono and the codec engine is trying to open L16 with two channels so something has changed to cause this regression.
Expect a fix sometime tomorrow.
/b
On Oct 11, 2009, at 9:27 PM, Seven Du wrote:
Quote: | I set to true because brian said it can play stereo files but no lucky for me.
2009/10/12 Jason White <jason@jasonjgw.net (jason@jasonjgw.net)>
Quote: | Seven Du <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote: | originate {ignore_early_media=true,RECORD_STEREO=true}sofia/gateway/xx/xx
&bridge(sofia/gateway/yy/yy)
|
Shouldn't that be record_stereo=false for mono recording?
|
|
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Oct 12, 2009 8:29 am Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
Perfect! Thanks.
/b
On Oct 12, 2009, at 1:15 AM, Seven Du wrote:
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Oct 12, 2009 11:55 am Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
Fixed... svn up.
/b
On Oct 12, 2009, at 1:15 AM, Seven Du wrote:
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Mon Oct 12, 2009 10:26 pm Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
I won't try until I need that, but I believe it works. Thanks Brian.
2009/10/13 Brian West <brian@freeswitch.org (brian@freeswitch.org)>
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Mon Oct 12, 2009 10:26 pm Post subject: [Freeswitch-users] Re corded file as voicemail. |
|
|
It was a problem and has been fixed in the last trunk. Just update to the latest code should be ok.
btw, the developers using jira to track bugs, so feel free to report one (as you see http://jira.freeswitch.org/browse/FSCORE-463) if you think it's a bug next time.
2009/10/12 Nagalenoj <nagalenoj@gmail.com (nagalenoj@gmail.com)>
Quote: |
Whats the conclusion.?!
Brian West-3 wrote:
Quote: |
Please open a jira please this did work but a recent change in
switch_core_codec caused this to appear I usually test this regularly
but haven't run thru a full run of tests lately.
/b
|
|
|
|
Back to top |
|
|
|