[Asterisk-Users] Manipulate Asterisk Database from manager?

Dan Austin Dan_Austin at Phoenix.com
Mon Apr 11 11:41:42 MST 2005


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 at lists.digium.com
[mailto:asterisk-users-bounces at 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 at 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 at 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



More information about the asterisk-users mailing list