Summary: | ASTERISK-07183: Unable to unload and reload chan_agent from the cli | ||
Reporter: | Jack Storm (jstorm) | Labels: | |
Date Opened: | 2006-06-15 19:52:25 | Date Closed: | 2006-06-16 07:24:45 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_agent |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_agent-ast_channel_unregister.diff | |
Description: | When unloading chan_agent.so from the cli (ie: unload chan_agent.so), the channel remains as a registered resource, and thus is unable to be reloaded (ie: unload chan_agent.so). This can and has for me asterisk crashing, but it does not happen all the time. Attached is the diff to correct this. ****** ADDITIONAL INFORMATION ****** CLI output showing the issue: pbx*CLI> unload chan_agent.so == Unregistered custom function AGENT == Unregistered application 'AgentLogin' == Unregistered application 'AgentCallbackLogin' == Unregistered application 'AgentMonitorOutgoing' == Manager unregistered action Agents == Manager unregistered action AgentLogoff == Manager unregistered action AgentCallbackLogin pbx*CLI> load chan_agent.so Unable to load module chan_agent.so Loaded /usr/lib/asterisk/modules/chan_agent.so => (Agent Proxy Channel) Jun 15 19:34:10 WARNING[10994]: channel.c:399 ast_channel_register: Already have a handler for type 'Agent' Jun 15 19:34:10 WARNING[10994]: loader.c:785 __load_resource: chan_agent.so: loa d_module failed, returning -1 | ||
Comments: | By: BJ Weschke (bweschke) 2006-06-16 07:24:44 Committed to /trunk. Thanks! |