[Home]

Summary:ASTERISK-00203: 2 agent Zap channels are bridged when ackcall=always, using 2 different : groups
Reporter:tclark (tclark)Labels:
Date Opened:2003-09-01 18:26:11Date Closed:2011-06-07 14:05:16
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When 2 agents from 2 different groups use ackcall=always
on Zap channels the dtmf from zt_read is detected as coming
from both channels at almost the same instant.

1) Login agent 100
2) login agent 102
3) place a call into the q & WAIT to hear the beep
on BOTH agent channels
4) press '#' on agent 100's Zap channel
5) the call will end up agent 102 channels
or dont press '#' but
press dtmf digits on either phone & watch the DEBUG messages
zt_read will register the same dtmf digits as coming from *BOTH* phones



agents.conf
group=1
ackcall=always
agent => 100,,DispatchOP
ackcall=no
agent => 101,,DispatchOP
group=2
ackcall=always
agent => 102,,OrderEntryOp
ackcall=no
agent => 103,,OrderEntryOp

queues.conf
[dispatchq]
strategy = ringall
timeout = 30
retry = 1
maxlen = 0
member => Agent/:1
member => Agent/:2

extension.conf
exten => *1,1,AgentLogin(100)
exten => *2,1,AgentLogin(102)



****** ADDITIONAL INFORMATION ******

   -- Starting simple switch on 'Zap/1-1'
   -- Executing AgentLogin("Zap/1-1", "100") in new stack
   -- Playing 'agent-loginok'
   -- Agent '100' logged in (format ULAW/ULAW)
   -- Starting simple switch on 'Zap/2-1'
   -- Executing AgentLogin("Zap/2-1", "102") in new stack
   -- Playing 'agent-loginok'
   -- Agent '102' logged in (format ULAW/ULAW)
DEBUG[147474]: File chan_zap.c, Line 3388 (zt_read): DTMF digit: # on Zap/4-1
   -- Zap/4-1 acknowledged
   -- Agent/102 answered IAX[dispatch@192.168.1.201:5036]/5
WARNING[147474]: File res_musiconhold.c, Line 414 (moh_alloc): No class: none
   -- Stopped music on hold on IAX[dispatch@192.168.1.201:5036]/5
DEBUG[155664]: File chan_zap.c, Line 3388 (zt_read): DTMF digit: # on Zap/1-1

Comments:By: tclark (tclark) 2003-09-01 18:41:12

OK this can be reduced tio a much more simple test case
1) Login agent 100
2) login agent 102

Press digits on agent 100's channel debug output will show

DEBUG[172048]: File chan_zap.c, Line 3388 (zt_read): DTMF digit: 2 on Zap/1-1
DEBUG[180241]: File chan_zap.c, Line 3388 (zt_read): DTMF digit: 2 on Zap/4-1

DEBUG[172048]: File chan_zap.c, Line 3388 (zt_read): DTMF digit: 3 on Zap/1-1
DEBUG[180241]: File chan_zap.c, Line 3388 (zt_read): DTMF digit: 3 on Zap/4-1

By: tclark (tclark) 2003-09-01 19:05:54

OK I feel DUMB

So i have a few hand sets,
for testing so they were laying quite close to
one another and the dtmf would spill from one hand set to another
because in agentlogin mode all agent are always off hook...

mark this as closed !

By: Malcolm Davenport (mdavenport) 2003-09-03 18:16:00

not a bug.