[Home]

Summary:ASTERISK-13308: chan local show as invalid in app queue
Reporter:Tim Ferguson (crashhd)Labels:
Date Opened:2009-01-06 03:30:21.000-0600Date Closed:2009-01-07 12:27:33.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I saw another mention of this in bug: 0008052

I've setup pbx_config.so for preload. Can manually fix by unloading then reloading app_queue.so.

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

voipcl1*CLI> show dialplan EXTENSIONS
[ Context 'EXTENSIONS' created by 'pbx_config' ]
'315' =>          1. SET(CALLERID(number)=833)                  [pbx_config]
   2. MACRO(followme|LOCAL/91222333444@LONGDISTANCE|25||r|t|f|f|f|f|f|t) [pbx_config]

oipcl1*CLI> queue show
3-b          has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:1, C:0, A:0, SL:0.0% within 30s
  Members:
     SIP/112 (Unavailable) has taken no calls yet
     SIP/111 (Unavailable) has taken no calls yet
     Local/315@EXTENSIONS/n (Invalid) has taken no calls yet
     SIP/110 (Unavailable) has taken no calls yet
  No Callers

;
; Asterisk configuration file
;
; Module Loader configuration file
;

[modules]
autoload=yes
;
; Any modules that need to be loaded before the Asterisk core has been
; initialized (just after the logger has been initialized) can be loaded
; using 'preload'. This will frequently be needed if you wish to map all
; module configuration files into Realtime storage, since the Realtime
; driver will need to be loaded before the modules using those configuration
; files are initialized.
;
; An example of loading ODBC support would be:
;preload => res_odbc.so
;preload => res_config_odbc.so
preload => pbx_config.so
;
; Uncomment the following if you wish to use the Speech Recognition API
;preload => res_speech.so
;
; If you want, load the GTK console right away.
; Don't load the KDE console since
; it's not as sophisticated right now.
;
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
;
load => res_musiconhold.so
;
; Load either OSS or ALSA, not both
; By default, load OSS only (automatically) and do not load ALSA
;
noload => chan_alsa.so
;noload => chan_oss.so

noload  => pbx_dundi.so

queues.conf:
[3-b]
musicclass      = default
;announce       = queue-markq
strategy        = ringall
servicelevel    = 30
context         = SUPPORT-OPEN-EXIT
timeout         = 125
retry           = 5
weight          = 1
wrapuptime      = 0
autofill        = yes
autopause       = no
maxlen          = 0
setinterfacevar = yes
joinempty       = strict
leavewhenempty  = strict
reportholdtime  = yes
ringinuse       = no
memberdelay     = 0
timeoutrestart  = yes

announce-frequency = 90
periodic-announce-frequency=60
announce-holdtime = no
announce-round-seconds = 10

;queue-youarenext = queue-youarenext    ; ("You are now first in line.")
;queue-thereare = queue-thereare        ; ("There are")
;queue-callswaiting = queue-callswaiting;       ("calls waiting.")
;queue-holdtime = queue-holdtime;       ("The current est. holdtime is")
;queue-minutes = queue-minutes;       ("minutes.")
;queue-seconds = queue-seconds;       ("seconds.")
;queue-thankyou = queue-thankyou;       ("Thank you for your patience.")
;queue-lessthan = queue-less-than;       ("less than")
;queue-reporthold = queue-reporthold;       ("Hold time")
;periodic-announce = queue-periodic-announce;       ("All reps busy / wait for next")
periodic-announce       = /asterisk/voip1/var/lib/phrases/311

member  => SIP/110
member  => SIP/111
member  => SIP/112
;member  => LOCAL/310@EXTENSIONS
;member  => LOCAL/311@EXTENSIONS
member  => Local/315@EXTENSIONS/n
Comments:By: Mark Michelson (mmichelson) 2009-01-06 10:11:05.000-0600

Try also adding "preload => chan_local.so" to modules.conf.

By: Tim Ferguson (crashhd) 2009-01-07 05:03:46.000-0600

That seemed to have worked. Might I suggest an update to the queues.conf.sample (where it mentions the preload for pbx_config.so to also mention chan_local.so).

Thank you for the help.

By: Leif Madsen (lmadsen) 2009-01-07 12:04:45.000-0600

I'm going to add that change and close this issue out. Thanks!

By: Digium Subversion (svnbot) 2009-01-07 12:18:48.000-0600

Repository: asterisk
Revision: 167477

U   trunk/configs/queues.conf.sample

------------------------------------------------------------------------
r167477 | lmadsen | 2009-01-07 12:18:47 -0600 (Wed, 07 Jan 2009) | 8 lines

Update queues.conf.sample documentation.

Update the queues.conf.sample documentation to mention that you need to preload chan_local.so as well if you plan on using Local channels for queue members, and you're preloading pbx_config.so.


(closes issue ASTERISK-13308)
Reported by: CrashHD
Tested by: CrashHD
------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=167477

By: Digium Subversion (svnbot) 2009-01-07 12:25:40.000-0600

Repository: asterisk
Revision: 167485

_U  branches/1.6.0/
U   branches/1.6.0/configs/queues.conf.sample

------------------------------------------------------------------------
r167485 | lmadsen | 2009-01-07 12:25:40 -0600 (Wed, 07 Jan 2009) | 16 lines

Merged revisions 167477 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r167477 | lmadsen | 2009-01-07 13:18:45 -0500 (Wed, 07 Jan 2009) | 8 lines
 
 Update queues.conf.sample documentation.
 
 Update the queues.conf.sample documentation to mention that you need to preload chan_local.so as well if you plan on using Local channels for queue members, and you're preloading pbx_config.so.
 
 
 (closes issue ASTERISK-13308)
 Reported by: CrashHD
 Tested by: CrashHD
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=167485

By: Digium Subversion (svnbot) 2009-01-07 12:27:32.000-0600

Repository: asterisk
Revision: 167491

_U  branches/1.6.1/
U   branches/1.6.1/configs/queues.conf.sample

------------------------------------------------------------------------
r167491 | lmadsen | 2009-01-07 12:27:32 -0600 (Wed, 07 Jan 2009) | 16 lines

Merged revisions 167477 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r167477 | lmadsen | 2009-01-07 13:18:45 -0500 (Wed, 07 Jan 2009) | 8 lines
 
 Update queues.conf.sample documentation.
 
 Update the queues.conf.sample documentation to mention that you need to preload chan_local.so as well if you plan on using Local channels for queue members, and you're preloading pbx_config.so.
 
 
 (closes issue ASTERISK-13308)
 Reported by: CrashHD
 Tested by: CrashHD
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=167491