when I call record_file() it seems to return right away. Looking in res_agi.c in asterisk code, it seems that it sends a lot of lines back. Like a line for every frame it reads from input. So, is record_file meant to return right away, or should it wait until it is done recording?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm sorry, It seems to be the line above my call to record_file that was giving the error. it was text2wav(). I guess there were some left over lines or something. I can get around that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when I call record_file() it seems to return right away. Looking in res_agi.c in asterisk code, it seems that it sends a lot of lines back. Like a line for every frame it reads from input. So, is record_file meant to return right away, or should it wait until it is done recording?
I'm sorry, It seems to be the line above my call to record_file that was giving the error. it was text2wav(). I guess there were some left over lines or something. I can get around that.