Use the manager Command to issue "database put <family> <key> <value>" I'm using PHPAGI, so I don't have the sequence for the manager call.
Dan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Roy Sent: Monday, April 11, 2005 11:23 AM To: Matt; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Manipulate Asterisk Database from manager? On Apr 11, 2005 10:16 AM, Matt <[EMAIL PROTECTED]> wrote: > Hi, > Is there anyway to manipulate the asterisk internal database from the > manager (the one you can telnet to)? And if so.. how does one do it? > (ie for enabling call forwarding, etc) Not that I'm aware of. You can do a 'listcommands' from the manager to verify everything that is avaiable to you. You can use the asterisk -rx "dbput" from a shell script if that suites your needs. -Brian _______________________________________________ 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