Re: [Asterisk-Users] Can agents login be permanent across Asterisk restarts ?

2005-02-12 Thread Nick Bachmann
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
___
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


Re: [Asterisk-Users] Can agents login be permanent across Asterisk restarts ?

2005-02-12 Thread Kevin P. Fleming
Asterisk wrote:
persistentmembers = yes
That is only in CVS HEAD, and it does not apply to logins generated via 
AgentCallbackLogin, it applies to dynamic members added via AddQueueMember.

There is, however, some analogous persistence in chan_agent (again CVS 
HEAD only) that may do what the OP wants as long as they are using Agent 
channels and not direct channels for their queue members. I haven't 
tried it though, since I don't use chan_agent.
___
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


Re: [Asterisk-Users] Can agents login be permanent across Asterisk restarts ?

2005-02-12 Thread Asterisk
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

___
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


[Asterisk-Users] Can agents login be permanent across Asterisk restarts ?

2005-02-11 Thread Robert Rozman
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