[asterisk-bugs] [Asterisk 0015559]: stateinterface in queues.conf makes the member show "Invalid"
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jul 23 11:05:23 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15559
======================================================================
Reported By: amorsen
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15559
Category: Applications/app_queue
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.6.1.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-07-23 09:32 CDT
Last Modified: 2009-07-23 11:05 CDT
======================================================================
Summary: stateinterface in queues.conf makes the member show
"Invalid"
Description:
In queues.conf I have:
[1]
member => Local/1 at DialAccount,,,Local/1 at DialAccount
[2]
member =>
Local/2 at DialAccount,,,Local/1234567890123456789012345678901234567890 at DialAccount
Right after starting asterisk:
vpbx05*CLI> queue show 1
1 has 0 calls (max unlimited) in 'ringall' strategy (0s
holdtime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
Local/1 at DialAccount (Not in use) has taken no calls yet
No Callers
vpbx05*CLI> queue show 2
2 has 0 calls (max unlimited) in 'ringall' strategy (0s
holdtime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
Local/2 at DialAccount (Invalid) has taken no calls yet
No Callers
Notice that Local/2 at DialAccount is Invalid, whereas Local/1 at DialAccount is
Not in use.
I also get this in /var/log/asterisk/messages:
[Jul 23 16:28:56] DEBUG[4263] chan_local.c: Checking if extension
1234567890123456789012345678901234567890 at DialAccoun exists (devicestate)
======================================================================
----------------------------------------------------------------------
(0108129) amorsen (reporter) - 2009-07-23 11:05
https://issues.asterisk.org/view.php?id=15559#c108129
----------------------------------------------------------------------
It's true that the lack of a proper extension line will (quite correctly)
cause the state to be "Invalid". However, that is not the case here:
vpbx05*CLI> dialplan show
1234567890123456789012345678901234567890 at DialAccount
[ Context 'DialAccount' created by 'pbx_config' ]
'_X!' => 1. ExecIf($["${DB(LocalNumber${EXTEN}/Account)}" =
""]?Hangup(UNALLOCATED)) [pbx_config]
2. GoSub(RecordCall,s,1)
[pbx_config]
3. Dial(${DB(LocalNumber${EXTEN}/Account)})
[pbx_config]
Issue History
Date Modified Username Field Change
======================================================================
2009-07-23 11:05 amorsen Note Added: 0108129
======================================================================
More information about the asterisk-bugs
mailing list