I am new to AGI. I have written my first php agi  script that gets the
extension dialed and says it back the caller using flite. I am stuck on how
to pass the comand asterisk –rx “core show hints to asterisk and get the
data back.

 This isn’t the recommended way, but it does work:  Let’s say extension A is
> 100 and B is 101.  Set up hints for 100 and 101.  Then do a quick and dirty
> agi to parse “asterisk –rx “core show hints” “ for InUse.  If any of the 4
> lines of 100 are in use, hints will report it as inuse, so you can use that
> to report back to b (101) that 100 is busy.
>
>
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to