[asterisk-users] asterisk 1.4.21.2 a caller waited in queue, after connect to agent hears silence

Christian Gansberger c.gansberger at gmail.com
Mon Jun 29 07:15:00 CDT 2009


Hi all!

My problem is that calls being placed in the queue, and are waiting
while the agents are busy, when an
agents is then free they gets connected to the agent but there is
silence (no voice).

If a caller has not to wait in the queue, there is no problem.

My agents have an iax2 client, and imcoming calls are over SIP.

queue.conf:

persistentmembers=yes
autofill=yes
ringinuse=no
eventwhencalled=yes
eventmemberstatus=yes

[servicenr1_w1]
musiconhold=default
strategy=leastrecent
ringinuse=no  ; verhindert dass Telefone angerufen werden die sowieso
telefonieren
wrapuptime=5
timeout=20
retry=5
weight=1
autopause=yes
setinterfacevar=yes  ;variable MEMBERINTERFACE wird gesetzt (zB. AGENT/21)
monitor-format = wav49
monitor-type = MixMonitor
joinempty=strict
leavewhenempty=strict
maxlen=20

member => Agent/21
member => Agent/22
member => Agent/23

The agents login with AgentCallbacklogin  wiht
AgentCallBackLogin(21||*21 at agents);

agents-context in extension.ael looks like this:

context agents
{
        // Anrufe von queue an agenten
        *21 => &queuecallagent(${EXTEN:1});
        *22 => &queuecallagent(${EXTEN:1});
        *23 => &queuecallagent(${EXTEN:1});
}


macro queuecallagent(agentnr)
{
                 Dial(IAX2/${agentnr}||xtTg);
                 switch(${DIALSTATUS})
                 {
                        case BUSY:
                                break;
                        case ANSWER:
                                break;
                        default:
                                Hangup();
                                break;
                 }
}


agents.conf:
[general]
persistentagents=yes
[agents]
maxlogintries=3
musiconhold => default
updatecdr=yes
agent => 21,1234,Klaudia
agent => 22,1234,Daniele
agent => 23,1234,Daniela

What about the wrapuptime in agents.conf - do i have to set this to
the same as in queues.conf?

i also get this message:
 WARNING[23115]: app_queue.c:3014 try_calling: The device state of
this queue member, Agent/22, is still 'Not in Use' when it probably
should not be! Please check UPGRADE.txt for correct configuration
settings.

the Agent/22 is "not in use", there are no open channels and "queue
show" is also reporting "not in use". So why i m getting this Warning?

i really don't know whats the reason of the silence.

yours
christian gansberger



More information about the asterisk-users mailing list