[Home]

Summary:ASTERISK-00230: Agentlogin does not respect digittimeout when call from Q is masquerade bridged doing a '#' transfer to ext with > 2 digits
Reporter:tclark (tclark)Labels:
Date Opened:2003-09-06 17:00:07Date Closed:2004-09-25 02:14:13
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Steps to reproduce
agent.conf
group=1
ackcall=no
agent => 1,,Agent 1
group=2
ackcall=always
agent => 2,,Agent 2
queues.conf

[q]
strategy = ringall
timeout = 30
retry = 1
maxlen = 0
member => Agent/:1
member => Agent/:2

extensions.conf snipit
[dispatchlogin]
include => local
include => speedial
include => parkedcalls

exten => *3,1,AgentLogin(5)

1) exten => *3,1,AgentLogin(1)
2) put some call in the q
3) continue dropping calls
untill a call from the q is bridged using
a masquerade
4) now do a ASTERISK-694 to try and park the call

1) all digits are detected by zt_read BUT the ext processing
proceeds b4 all the digits are recognized

2) The context for the agent is also *LOST* &
the default context is assumed

see the debug from cli list here..
   -- Unable to find extension '70' in context 'default'



see debug output below, non-masquerade calls appear not
not have thi issue
the the last 0 in the dial string

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

EBUG[327698]: File channel.c, Line 1902 (ast_do_masquerade): Got clone lock on 'Agent/5' at 0x8196e48
DEBUG[327698]: File channel.c, Line 2033 (ast_do_masquerade): Destroying clone 'Agent/P:2-50338<ZOMBIE>'
DEBUG[327698]: File channel.c, Line 2048 (ast_do_masquerade): Putting channel Agent/5 in 64/2 formats
DEBUG[327698]: File channel.c, Line 2065 (ast_do_masquerade): Done Masquerading Agent/5 (6)
DEBUG[327698]: File chan_zap.c, Line 3392 (zt_read): DTMF digit: # on Zap/2-1
DEBUG[327698]: File channel.c, Line 2244 (ast_channel_bridge): Got AST_BRIDGE_DTMF_CHANNEL_1 on c1 (Agent/5)
DEBUG[327698]: File channel.c, Line 2278 (ast_channel_bridge): Bridge stops bridging channels IAX[dispatch@192.168.1.201:5036]/25 and Agent/5
   -- Started music on hold, class 'default', on IAX[dispatch@192.168.1.201:5036]/25
DEBUG[327698]: File channel.c, Line 952 (ast_settimeout): Scheduling timer at 160 sample intervals
   -- Playing 'pbx-transfer'
DEBUG[327698]: File chan_zap.c, Line 3392 (zt_read): DTMF digit: 7 on Zap/2-1
DEBUG[327698]: File channel.c, Line 952 (ast_settimeout): Scheduling timer at 0 sample intervals
DEBUG[327698]: File chan_zap.c, Line 3392 (zt_read): DTMF digit: 0 on Zap/2-1
   -- Unable to find extension '70' in context 'default'
DEBUG[327698]: File channel.c, Line 952 (ast_settimeout): Scheduling timer at 160 sample intervals
   -- Playing 'pbx-invalid'
DEBUG[327698]: File chan_zap.c, Line 3392 (zt_read): DTMF digit: 0 on Zap/2-1
DEBUG[327698]: File channel.c, Line 952 (ast_settimeout): Scheduling timer at 0 sample intervals
   -- Stopped music on hold on IAX[dispatch@192.168.1.201:5036]/25
   -- Stopped music on hold on IAX[dispatch@192.168.1.201:5036]/24
Comments:By: Mark Spencer (markster) 2003-09-06 19:13:18

Fixed in CVS.