Likes Likes:  0
Resultaten 1 tot 2 van de 2
Geen
  1. #1
    Elastix AGI PHP: Call wordt in wachtrij geplaatst echter telefoons gaan niet over
    geregistreerd gebruiker
    4 Berichten
    Ingeschreven
    20/12/04

    Locatie
    Almere

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Nee
    KvK nummer: 52139786
    Ondernemingsnummer: nvt

    Thread Starter

    Lightbulb Elastix AGI PHP: Call wordt in wachtrij geplaatst echter telefoons gaan niet over

    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:

    PHP Code:
    $agi->exec('Queue', "001"); // plaats gesprek in de wachtrij
    exit(0); 
    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.

    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?

  2. #2
    Elastix AGI PHP: Call wordt in wachtrij geplaatst echter telefoons gaan niet over
    geregistreerd gebruiker
    476 Berichten
    Ingeschreven
    07/07/03

    Locatie
    Steenbergen

    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    1 Berichten zijn liked


    Naam: Sebastian Berm
    Bedrijf: Sebsoft B.V.
    Functie: Eigenaar :)
    URL: www.sebsoft.nl
    KvK nummer: 64822028
    Ondernemingsnummer: nvt
    View https://nl.linkedin.com/in/sberm's profile on LinkedIn

    Nu moet ik zeggen dat ik geen kennis heb van Elastix, maar enkel van Asterisk.
    Als ik het zo zie, lijkt het erop dat iedere call die verwerkt wordt in een lus komt.
    Je komt binnen met 301@from-queue (dat is dus extensie 301 in de context from-queue), maar wanneer je naar agent 301 wilt gaan, knalt hij hem naar Local/301@from-queue.
    Dit houdt in dat er een 'nieuw gesprek' komt waarin het huidige gesprek geredirect zou worden naar de extensie 301@from-queue. Alleen is dit de extensie waar het gesprek vandaan kwam and so on.

    Als ik dit in Asterisk zou zien, zou ik zeggen 'die agent zit op de verkeerde context aangemeld'.
    Weet niet of je hier iets aan hebt, maar zo ziet de log er in ieder geval uit.

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics