I am new to asterisk. I had a below configuration in my extension.conf file.
I am hang up my call before AGI script executing (Ringing) then my call has got disconnected but still channel is occupied and AGI script is running in asterisk CLI.
I want to know how to hang up the AGI script execution while after my call has disconnected?
If I disconnect my call in ringing event, call has disconnected. But Asterisk is not receiving my hangup signal and my AGI script is started to executing.
How can I hangup the call without Answer() function?
exten => s,1,Ringing
exten => s,2,Wait(8)
exten => s,3,AGI(‘testing.pl’)
Thanks in Advance