[asterisk-users] Agents.conf from realtime static (Solved)

Carlos Chavez cursor at telecomabmex.com
Wed May 30 15:54:17 MST 2007


On Tue, 2007-05-29 at 17:13 -0400, Jared Smith wrote:
> On 5/29/07, Carlos Chavez <cursor at telecomabmex.com> wrote:
> >         I am using Asterisk 1.4.4 on a CentOS 5 machine for a small call center
> > with 6 agents.  I am using realtime for queues and sip and I am also
> > trying to use realtime static to load agents.conf.  The only problem I
> > am having is that no agents are loaded when I start Asterisk.  I have to
> > manually do a "module reload chan_agent.so" so the agents get loaded
> > from the database.
> 
> This sounds like it *might* be a problem with the order in which your
> modules are being loaded.  To fix this, you might want to manually add
> the following lines to your modules.conf file, to make sure that
> chan_local and chan_sip get loaded *before* chan_agent:
> 
> load => chan_local.so
> load => chan_sip.so
> load => chan_agent.so
> 
> Give that a try and let me know if it works for you.
> 
	What needs to be preloaded is the realtime engine for Mysql.  So you
just have to insert the following line into /etc/asterisk/modules.conf:

preload => res_config_mysql.so

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070530/3623bfa7/attachment.pgp


More information about the asterisk-users mailing list