Goede avond,
Ik ben al enkele dagen druk aan het stoeien met de AGI van Elastix/Asterisk. Ik ben al een aardig end gekomen, echter toch loop ik nog tegen een probleem.
Als iemand in het menu er voor kiest om een medewerker te spreken dan moet hij/zij in de wachtrij terecht komen, daarom heb ik in mijn php script het volgende staan:
Nu hoor ik netjes op de telefoon dat alle medewerkers in gesprek zijn en hoor ik een wachtmuziekje.... Maar.... De telefoon gaat niet over bij een beschikbare medewerker..... Dus daar gaat iets mis.PHP Code:
$agi->exec('Queue', "001"); // plaats gesprek in de wachtrij
exit(0);
Als ik dan vervolgens in de log ga kijken dan zie ik pagina's vol met het volgende:
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:2] Goto("Local/301@from-queue-0000000f;2", ",1") in new stack
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Goto (from-queue,301,1)
Apr 3 19:12:56 VERBOSE [6876] pbx.c:
-- Executing [301@from-queue:1] Set("Local/301@from-queue-0000000f;2", "QAGENT=301") in new stack
En dit stopt pas als ik de server een reboot geef. Iemand enig idee wat ik verkeerd doe?