I am dealing with a problem for now and its really annoying.
I want to hangup calls from AGI but it seems that my AGI is not rejecting the calls properly.
with the above logic, all of my calls should be rejected and should be disconnected instantaneously.
But this doesn’t seem to be happening, in asterisk CLI I can see that AGI is executing multiple times.
Can anyone tell what I am doing wrong?