[Asterisk-Users] Manipulate Asterisk Database from manager?

2005-04-11 Thread Matt
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)
___
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] Manipulate Asterisk Database from manager?

2005-04-11 Thread Matt
Ahh dbput probably will do what I am looking for.. thanks!

On Apr 11, 2005 2:23 PM, Brian Roy [EMAIL PROTECTED] wrote:
 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


Re: [Asterisk-Users] Manipulate Asterisk Database from manager?

2005-04-11 Thread Brian Roy
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


RE: [Asterisk-Users] Manipulate Asterisk Database from manager?

2005-04-11 Thread Dan Austin
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


Re: [Asterisk-Users] Manipulate Asterisk Database from manager?

2005-04-11 Thread Josiah Bryan
On Monday 11 April 2005 2:24 pm, Matt wrote:
 Ahh dbput probably will do what I am looking for.. thanks!

 On Apr 11, 2005 2:23 PM, Brian Roy [EMAIL PROTECTED] wrote:
  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.
 

Or:

Action: Command
Command: database put path/to key value



-josiah



-- 
Josiah Bryan
IT Coordinator
Productive Concepts, Inc.
[EMAIL PROTECTED]
(765) 964-6009, ext. 224
___
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