On Wed, 2006-07-05 at 18:55 +0200, Peter Wastl wrote:> Dear List!
>
> I'm looking for a way to display the current status of call forwarding
with
> PHP in a webpage.
> Does anyone has an idea how to do this?
>
> Can I get this info with a command line batch?
> something like "asterisk -r -x commandtodisplaycfwdstatus"
If the CFWD status for an extension is stored in the Asterisk DB maybe
you could get that info from the DB. Something like:
$ asterisk -r -x "database get <family> <key>"
CFWD EXTENSION
Regards,
Patrick