Robert Rozman
2005-Feb-11 14:16 UTC
[Asterisk-Users] Can agents login be permanent across Asterisk restarts ?
Hi, I noticed that agents logins (agentcallbacklogin) are reset if Asterisk is restarted. Can this be avoided in some way ? Regards, Rob.
Asterisk
2005-Feb-12 00:53 UTC
[Asterisk-Users] Can agents login be permanent across Asterisk restarts ?
queues.conf ; Persistent Members ; Store each dynamic agent in each queue in the astdb so that ; when asterisk is restarted, each agent will be automatically ; readded into their recorded queues. Default is 'yes'. ; persistentmembers = yes Julian Robert Rozman wrote:> Hi, > > I noticed that agents logins (agentcallbacklogin) are reset if Asterisk is > restarted. Can this be avoided in some way ? > > Regards, > > Rob. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Nick Bachmann
2005-Feb-12 21:58 UTC
[Asterisk-Users] Can agents login be permanent across Asterisk restarts ?
Robert Rozman wrote:>Hi, > >I noticed that agents logins (agentcallbacklogin) are reset if Asterisk is >restarted. Can this be avoided in some way ? > >As Kevin insinuated, there is support for this in CVS Head. It's called persistentagents and is set through agents.conf: ; Define whether callbacklogins should be stored in astdb for ; persistence. Persistent logins will be reloaded after ; Asterisk restarts. ; ; persistentagents=yes The default it off, so you'll have to uncomment it to turn it on. There was also a patch contributed in the bug report (M3202) for CVS stable that may still apply, if you're not running HEAD and don't want to upgrade. Nick