[asterisk-users] Continue script on hangup
A J Stiles
asterisk_list at earthshod.co.uk
Fri Aug 30 02:41:25 CDT 2013
On Friday 30 August 2013, John Doe wrote:
> Is it possible to execute lines in a script when the caller disconnects?
> I.e. to check when the last person leaves a conference room so you know it
> is safe to move the recording file.
When a person hangs up their phone, Asterisk jumps to the "h" extension in the
current context. From there, you can do any of the normal dialplan stuff that
doesn't require a call to be bridged; including AGI scripts and shell commands
using System().
--
AJS
Answers come *after* questions.
More information about the asterisk-users
mailing list