Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-12 Thread Seven Du
http://jira.freeswitch.org/browse/MODCODEC-15

Is it ok I assigned to you ?

Thanks.

2009/10/12 Brian West br...@freeswitch.org

 It was possible but we have a regression in the code that isn't
 letting that happen right now... hence the reason i said Open a jira
 so we could fix it.

 IS THAT not clear?

 /b

 On Oct 11, 2009, at 10:46 PM, Nagalenoj wrote:

 
  Whats the conclusion.?!


 ___
 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

___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-12 Thread Brian West

Perfect! Thanks.

/b

On Oct 12, 2009, at 1:15 AM, Seven Du wrote:


http://jira.freeswitch.org/browse/MODCODEC-15

Is it ok I assigned to you ?

Thanks.


___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-12 Thread Brian West

Fixed... svn up.

/b

On Oct 12, 2009, at 1:15 AM, Seven Du wrote:


http://jira.freeswitch.org/browse/MODCODEC-15

Is it ok I assigned to you ?

Thanks.


___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-12 Thread Seven Du
I won't try until I need that, but I believe it works. Thanks Brian.

2009/10/13 Brian West br...@freeswitch.org

 Fixed... svn up.
 /b

 On Oct 12, 2009, at 1:15 AM, Seven Du wrote:

 http://jira.freeswitch.org/browse/MODCODEC-15

 Is it ok I assigned to you ?

 Thanks.



 ___
 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


___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-12 Thread Seven Du
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 nagale...@gmail.com


 Whats the conclusion.?!


 Brian West-3 wrote:
 
  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
 

___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-11 Thread Brian West
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:


Yes, it's discussed before.

http://wiki.freeswitch.org/wiki/Channel_Variables#RECORD_STEREO

set that var to false before you record.


___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-11 Thread Seven Du
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.

freeswi...@internal
freeswi...@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:

freeswi...@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]
freeswi...@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 

Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-11 Thread Jason White
Seven Du dujinf...@gmail.com wrote:
 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?


___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-11 Thread Seven Du
I set to true because brian said it can play stereo files but no lucky for
me.

2009/10/12 Jason White ja...@jasonjgw.net

 Seven Du dujinf...@gmail.com wrote:
  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?


 ___
 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

___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-11 Thread Brian West
Where are you playing the files?

/b

On Oct 11, 2009, at 9:27 PM, Seven Du wrote:

 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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-11 Thread Brian West
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:

I set to true because brian said it can play stereo files but no  
lucky for me.


2009/10/12 Jason White ja...@jasonjgw.net
Seven Du dujinf...@gmail.com wrote:
 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?



___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-11 Thread Nagalenoj

Is it possible to play a stereo file ?!!! whats the conclusion.?!


Brian West-3 wrote:
 
 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:
 
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Recorded-file-as-voicemail.-tp25751158p25850181.html
Sent from the Freeswitch-users mailing list archive at Nabble.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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-11 Thread Brian West
It was possible but we have a regression in the code that isn't  
letting that happen right now... hence the reason i said Open a jira  
so we could fix it.

IS THAT not clear?

/b

On Oct 11, 2009, at 10:46 PM, Nagalenoj wrote:


 Whats the conclusion.?!


___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-09 Thread Nagalenoj

No, When I do voicemail_inject it is reporting the following error.

'Stereo is currently not supported, please downsample to mono.'

Any other way to do this.??


Michael Jerris wrote:
 
 http://wiki.freeswitch.org/wiki/Mod_voicemail#voicemail_inject
 
 On Oct 5, 2009, at 9:46 AM, Nagalenoj wrote:
 

 Is it possible to treat a recorded voice as voice mail?

 Assume that, I've recorded a conversation and I want this recorded  
 file to
 be treated like voicemail. So, I could check it like voicemail!!
 
 
 ___
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Recorded-file-as-voicemail.-tp25751158p25830785.html
Sent from the Freeswitch-users mailing list archive at Nabble.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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-09 Thread Jason White
Nagalenoj nagale...@gmail.com wrote:
 
 No, When I do voicemail_inject and check through voicemail, it is not playing
 the file instead reporting the following error.
 
 'Stereo is currently not supported, please downsample to mono.'

This has been discussed on the list before. I think the solution was to use
sox to convert the files to mono. You might need a script to do this before
injecting them into the voicemail.


___
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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-09 Thread Seven Du
Yes, it's discussed before.

http://wiki.freeswitch.org/wiki/Channel_Variables#RECORD_STEREO

set that var to false before you record.


2009/10/10 Jason White ja...@jasonjgw.net

 Nagalenoj nagale...@gmail.com wrote:
 
  No, When I do voicemail_inject and check through voicemail, it is not
 playing
  the file instead reporting the following error.
 
  'Stereo is currently not supported, please downsample to mono.'

 This has been discussed on the list before. I think the solution was to use
 sox to convert the files to mono. You might need a script to do this before
 injecting them into the voicemail.


 ___
 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

___
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


[Freeswitch-users] Re corded file as voicemail.

2009-10-05 Thread Nagalenoj

Is it possible to treat a recorded voice as voice mail?

Assume that, I've recorded a conversation and I want this recorded file to
be treated like voicemail. So, I could check it like voicemail!!

-- 
View this message in context: 
http://www.nabble.com/Recorded-file-as-voicemail.-tp25751158p25751158.html
Sent from the Freeswitch-users mailing list archive at Nabble.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


Re: [Freeswitch-users] Re corded file as voicemail.

2009-10-05 Thread Michael Jerris
http://wiki.freeswitch.org/wiki/Mod_voicemail#voicemail_inject

On Oct 5, 2009, at 9:46 AM, Nagalenoj wrote:


 Is it possible to treat a recorded voice as voice mail?

 Assume that, I've recorded a conversation and I want this recorded  
 file to
 be treated like voicemail. So, I could check it like voicemail!!


___
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