Re: [Freeswitch-users] session record does not for very short calls

2009-09-17 Thread Brian West
I think if you removeaction application=set  
data=RECORD_ANSWER_REQ=true/

it'll do what you want.

/b

On Sep 16, 2009, at 7:05 PM, Nandy Dagondon wrote:

 this makes sense. a workaround would be to provide an optional  
 variable to delete recording file if it's less than N seconds.  
 otherwise, it defaults to a preset duration.

 /nandy


 On Thu, Sep 17, 2009 at 7:46 AM, Seven Du dujinf...@gmail.com wrote:
 I think the file was there but deleted by FreeSWITCH if it thinks it
 was too short (like 3 seconds?). If I'm not wrong, someone requested
 this feature becuase FreeSWITCH left too many small recordings.


 On Sep 17, 2009, at 1:27 AM, João Mesquita wrote:
  I think you need to upgrade your version before we even take a look
  at that... You are so far behind trunk right now and lots of things
  have been changed since then.
 
  Not sure if this would solve your problem but not a lot of ppl will
  look at your problem when you run this version.
 
  jmesquita
 
  On Wed, Sep 16, 2009 at 2:00 PM, Frank @ Impact
  fr...@impactfax.com wrote:
  FreeSWITCH Version 1.0.trunk (12790M)
 
 
  I have this in my DP
 
action application=set data=RECORD_ANSWER_REQ=true/
 
action application=set data=RECORD_STEREO=true/
 
action application=record_session data=/mnt/rd/
  file.wav/
 
 
  works fine as long as the call is long enough.  But if the call is
  only, say, 3-4 seconds long (or something very short like that),
  then the wav file is never created with the audio in it.
 
 
  Is there a work around for this?
 
 
  ___
  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 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 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] session record does not for very short calls

2009-09-17 Thread Michael Collins
On Thu, Sep 17, 2009 at 6:21 AM, Brian West br...@freeswitch.org wrote:

 I think if you removeaction application=set
 data=RECORD_ANSWER_REQ=true/

 it'll do what you want.

 FYI
http://wiki.freeswitch.org/wiki/Channel_Variables#RECORD_ANSWER_REQ

Hopefully that will help fill in the details.
-MC
___
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] session record does not for very short calls

2009-09-16 Thread João Mesquita
I think you need to upgrade your version before we even take a look at
that... You are so far behind trunk right now and lots of things have been
changed since then.

Not sure if this would solve your problem but not a lot of ppl will look at
your problem when you run this version.

jmesquita

On Wed, Sep 16, 2009 at 2:00 PM, Frank @ Impact fr...@impactfax.com wrote:

  FreeSWITCH Version 1.0.trunk (12790M)



 I have this in my DP

   action application=set data=RECORD_ANSWER_REQ=true/

   action application=set data=RECORD_STEREO=true/

   action application=record_session data=/mnt/rd/file.wav/



 works fine as long as the call is long enough.  But if the call is only,
 say, 3-4 seconds long (or something very short like that), then the wav file
 is never created with the audio in it.



 Is there a work around for this?

 ___
 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] session record does not for very short calls

2009-09-16 Thread Seven Du
I think the file was there but deleted by FreeSWITCH if it thinks it  
was too short (like 3 seconds?). If I'm not wrong, someone requested  
this feature becuase FreeSWITCH left too many small recordings.


On Sep 17, 2009, at 1:27 AM, João Mesquita wrote:
 I think you need to upgrade your version before we even take a look  
 at that... You are so far behind trunk right now and lots of things  
 have been changed since then.

 Not sure if this would solve your problem but not a lot of ppl will  
 look at your problem when you run this version.

 jmesquita

 On Wed, Sep 16, 2009 at 2:00 PM, Frank @ Impact  
 fr...@impactfax.com wrote:
 FreeSWITCH Version 1.0.trunk (12790M)


 I have this in my DP

   action application=set data=RECORD_ANSWER_REQ=true/

   action application=set data=RECORD_STEREO=true/

   action application=record_session data=/mnt/rd/ 
 file.wav/


 works fine as long as the call is long enough.  But if the call is  
 only, say, 3-4 seconds long (or something very short like that),  
 then the wav file is never created with the audio in it.


 Is there a work around for this?


 ___
 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 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] session record does not for very short calls

2009-09-16 Thread Nandy Dagondon
this makes sense. a workaround would be to provide an optional variable to
delete recording file if it's less than N seconds. otherwise, it defaults to
a preset duration.

/nandy


On Thu, Sep 17, 2009 at 7:46 AM, Seven Du dujinf...@gmail.com wrote:

 I think the file was there but deleted by FreeSWITCH if it thinks it
 was too short (like 3 seconds?). If I'm not wrong, someone requested
 this feature becuase FreeSWITCH left too many small recordings.


 On Sep 17, 2009, at 1:27 AM, João Mesquita wrote:
  I think you need to upgrade your version before we even take a look
  at that... You are so far behind trunk right now and lots of things
  have been changed since then.
 
  Not sure if this would solve your problem but not a lot of ppl will
  look at your problem when you run this version.
 
  jmesquita
 
  On Wed, Sep 16, 2009 at 2:00 PM, Frank @ Impact
  fr...@impactfax.com wrote:
  FreeSWITCH Version 1.0.trunk (12790M)
 
 
  I have this in my DP
 
action application=set data=RECORD_ANSWER_REQ=true/
 
action application=set data=RECORD_STEREO=true/
 
action application=record_session data=/mnt/rd/
  file.wav/
 
 
  works fine as long as the call is long enough.  But if the call is
  only, say, 3-4 seconds long (or something very short like that),
  then the wav file is never created with the audio in it.
 
 
  Is there a work around for this?
 
 
  ___
  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 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