Recorded files lost when user hangs up in Asterisk 1.6
-
Ben Klang
- State changed from open to resolved
It looks like the answer to this is to use Adhearsion's built-in "record" method rather than Asterisk's "Record" application.
In other words, use this:
record "my-sound-file", { :maxduration => 30 }... instead of this:
execute "Record", "my-sound-file", 5, 30The first one will save the recording if the user hangs up, while the second will not (assuming Asterisk version 1.6.0 or later).
Note also that Adhearsion 0.8.4 and later uses the AGI native RECORD FILE command instead of "Execute Record", meaning that if you use the first example you are already protected from the change in Asterisk 1.6.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.