[asterisk-users] CFWD Status with PHP

Patrick asterisk-list at puzzled.xs4all.nl
Wed Jul 5 10:21:39 MST 2006


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




More information about the asterisk-users mailing list