[asterisk-bugs] [Asterisk 0011681]: module unload <tab> doesnt work

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jan 25 11:31:56 CST 2008


The following issue has been REOPENED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11681 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11681
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     new
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 96576 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-04-2008 19:21 CST
Last Modified:              01-25-2008 11:31 CST
====================================================================== 
Summary:                    module unload <tab> doesnt work
Description: 
rabbit*CLI> module unload <tab>
cdr        dnsmgr     enum       extconfig  http       manager    rtp     
  logger     
which is the wrong output, since it should be the modules list.

I also note:
module load <tab> doesnt work.

But if you type just the first char, then it works:
rabbit*CLI> module load r<tab>
res_adsi.so          res_ael_share.so     res_agi.so          
res_clioriginate.so  res_convert.so       res_crypto.so       
res_features.so      
res_indications.so   res_limit.so         res_monitor.so      
res_realtime.so      res_smdi.so          res_speech.so       
res_musiconhold.so   
rabbit*CLI> module load a<tab>
app_adsiprog.so         app_alarmreceiver.so    app_amd.so             
app_cdr.so              app_chanisavail.so      app_channelredirect.so  
app_chanspy.so          app_controlplayback.so  app_db.so              
app_dial.so             app_dictate.so          app_directed_pickup.so  
app_directory.so        app_disa.so             app_dumpchan.so        
app_echo.so             app_exec.so             app_externalivr.so      
app_festival.so         app_flash.so            app_followme.so        
app_forkcdr.so          app_getcpeid.so         app_ices.so             
app_image.so            app_macro.so            app_meetme.so          
app_milliwatt.so        app_minivm.so           app_mixmonitor.so       
app_morsecode.so        app_mp3.so              app_nbscat.so          
app_page.so             app_parkandannounce.so  app_pickupchan.so       
app_playback.so         app_privacy.so          app_queue.so           
app_read.so             app_readexten.so        app_readfile.so         
app_record.so           app_sayunixtime.so      app_senddtmf.so        
app_sendtext.so         app_setcallerid.so      app_sms.so              
app_softhangup.so       app_speech_utils.so     app_stack.so           
app_system.so           app_talkdetect.so       app_test.so             
app_transfer.so         app_url.so              app_userevent.so       
app_verbose.so          app_voicemail.so        app_waitforring.so      
app_waitforsilence.so   app_waituntil.so        app_while.so           
app_zapateller.so       app_zapbarge.so         app_zapras.so           
app_zapscan.so          app_authenticate.so     
rabbit*CLI> module load app_

which is okay after only the 1st char.
====================================================================== 

---------------------------------------------------------------------- 
 junky - 01-25-08 11:31  
---------------------------------------------------------------------- 
I've noticed:

rabbit*CLI> module load app_<tab>
app_adsiprog.so         app_alarmreceiver.so    app_amd.so             
app_cdr.so              app_chanisavail.so      app_channelredirect.so 
app_chanspy.so          app_controlplayback.so
app_db.so               app_dial.so             app_dictate.so         
app_directed_pickup.so  app_directory.so        app_disa.so            
app_dumpchan.so         app_echo.so
app_exec.so             app_externalivr.so      app_festival.so        
app_flash.so            app_followme.so         app_forkcdr.so         
app_getcpeid.so         app_ices.so
app_image.so            app_macro.so            app_meetme.so          
app_milliwatt.so        app_minivm.so           app_mixmonitor.so      
app_morsecode.so        app_mp3.so
app_nbscat.so           app_page.so             app_parkandannounce.so 
app_pickupchan.so       app_playback.so         app_privacy.so         
app_read.so             app_readexten.so
app_readfile.so         app_record.so           app_sayunixtime.so     
app_senddtmf.so         app_sendtext.so         app_setcallerid.so     
app_sms.so              app_softhangup.so
app_speech_utils.so     app_stack.so            app_system.so          
app_talkdetect.so       app_test.so             app_transfer.so        
app_url.so              app_userevent.so
app_verbose.so          app_voicemail.so        app_waitforring.so     
app_waitforsilence.so   app_waituntil.so        app_while.so           
app_zapateller.so       app_zapbarge.so
app_zapras.so           app_zapscan.so          app_authenticate.so
rabbit*CLI> 
app_queue.so is not there, so it isnt parsing the mod dir, but loaded
modules.

so i can finish typing:

rabbit*CLI> module load app_queue.so
  == Parsing '/etc/asterisk/queuerules.conf':
  == Found
  == Parsing '/etc/asterisk/queues.conf':
  == Found
    -- Registered extension context 'app_queue_gosub_virtual_context'
    -- Added extension 's' priority 1 to app_queue_gosub_virtual_context
[Jan 25 12:32:00] NOTICE[8918]: app_queue.c:3978 reload_queue_members:
Queue members successfully reloaded from database.
  == Registered application 'Queue'
  == Registered application 'AddQueueMember'
  == Registered application 'RemoveQueueMember'
  == Registered application 'PauseQueueMember'
  == Registered application 'UnpauseQueueMember'
  == Registered application 'QueueLog'
  == Manager registered action Queues
  == Manager registered action QueueStatus
  == Manager registered action QueueSummary
  == Manager registered action QueueAdd
  == Manager registered action QueueRemove
  == Manager registered action QueuePause
  == Manager registered action QueueLog
  == Manager registered action QueuePenalty
  == Manager registered action QueueRule
  == Registered custom function 'QUEUE_VARIABLES'
  == Registered custom function 'QUEUE_MEMBER'
  == Registered custom function 'QUEUE_MEMBER_COUNT'
  == Registered custom function 'QUEUE_MEMBER_LIST'
  == Registered custom function 'QUEUE_WAITING_COUNT'
  == Registered custom function 'QUEUE_MEMBER_PENALTY'
 Loaded app_queue.so => (True Call Queueing)
rabbit*CLI>

and it will load correctly.


If that could help:
rabbit*CLI> module unload app<tab>
app_adsiprog.so         app_alarmreceiver.so    app_amd.so             
app_authenticate.so     app_cdr.so              app_chanisavail.so     
app_channelredirect.so  app_chanspy.so
app_controlplayback.so  app_db.so               app_dial.so            
app_dictate.so          app_directed_pickup.so  app_directory.so       
app_disa.so             app_dumpchan.so
app_echo.so             app_exec.so             app_externalivr.so     
app_festival.so         app_flash.so            app_followme.so        
app_forkcdr.so          app_getcpeid.so
app_ices.so             app_image.so            app_macro.so           
app_meetme.so           app_milliwatt.so        app_minivm.so          
app_mixmonitor.so       app_morsecode.so
app_mp3.so              app_nbscat.so           app_page.so            
app_parkandannounce.so  app_pickupchan.so       app_playback.so        
app_privacy.so          app_read.so
app_readexten.so        app_readfile.so         app_record.so          
app_sayunixtime.so      app_senddtmf.so         app_sendtext.so        
app_setcallerid.so      app_sms.so
app_softhangup.so       app_speech_utils.so     app_stack.so           
app_system.so           app_talkdetect.so       app_test.so            
app_transfer.so         app_url.so
app_userevent.so        app_verbose.so          app_voicemail.so       
app_waitforring.so      app_waitforsilence.so   app_waituntil.so       
app_while.so            app_zapateller.so
app_zapbarge.so         app_zapras.so           app_zapscan.so         
app_queue.so
rabbit*CLI> module unload app_queue.so

works as expected. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-25-08 11:31  junky          Note Added: 0081185                          
======================================================================




More information about the asterisk-bugs mailing list