[Asterisk-Users] Run Script when originator hangs up the phone

Peter Svensson psvasterisk at psv.nu
Wed May 18 22:47:33 MST 2005


On Wed, 18 May 2005, Erik Sundberg wrote:

> Wonder if there was away to run a script/marco when the person who
> originates the call hangs up.
> 
> I have use the g option in the dial application to continue running
> applications in the dial plan,  but that only works if the person who is
> called hangs up first..

Use the 'h' extension. That is run when the current channel (the caller 
normally) hangs up.

Peter





More information about the asterisk-users mailing list