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)
Brian Roy
2005-Apr-11 11:23 UTC
[Asterisk-Users] Manipulate Asterisk Database from manager?
On Apr 11, 2005 10:16 AM, Matt <mhoppes@gmail.com> 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
Dan Austin
2005-Apr-11 11:41 UTC
[Asterisk-Users] Manipulate Asterisk Database from manager?
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: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] 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 <mhoppes@gmail.com> 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