[asterisk-users] CALLS NOT HANGING UP THROUGH AGI
Anas Moiz
anas at supertec.com
Mon Feb 13 15:46:38 CST 2017
Hi Everyone,
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.
{
$agi->verbose("number-not-in-service");
$agi->exec("Congestion","1");
$agi->hangup();
exit;
}
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?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170214/bb4a801f/attachment.html>
More information about the asterisk-users
mailing list