Hi,
Consider the following function in lua mod

session:recordFile(file_name, max_len, silence_threshold, silence_secs)

, where [
silence_secs] is the amount of silence to tolerate before ending the recording.

When executing this function with the following parameters 
session:recordFile("/tmp/blah.wav", 30000, 10, 10)
and muting the mic on my phone, the recording breaks in ~ 10 seconds.
Here comes the question. How do I know that recording ended because of silence? Do you set any environment variable?

Cheers,
Peter

_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to