Another way I thought about doing this was to try to do a api_hangup_hook=transfer stop_rec_exten. Then in that extension, do the stop recording and call my system processing script from there. But I could not get the api hook to transfer to the designated extension on hangup. Is transfer not a valid call from api_hangup_hook? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris On Dec 27, 2008, at 5:21 PM, Frank @ Impact wrote:
I was trying to stop a session record from lua but when I try I get a "Result is INVALID COMMAND!"
When the call hangs up the record session should stop by itself anyways so this should not be necessary. Mike