On Sat, 26 Mar 2011 10:50:19 +0100, <magnu...@inputinterior.se> wrote:
>I am looking for a way to check the status of a cell phone. Found one way that 
>worked for me and would like to have some feedback or suggestion of 
>improvments.

I'd like to check I understood: Your Asterisk server is connected to a
landline and can call your cellephone (073-302 59 75).

When a call comes in from the landline, Asterisk checks whether your
cellphone is available and redirects the call; If not available, it
calls a landline number (010-602 4975). If this landline number is not
available, it tries a third number (010-602 4976)?

Is the AMI code below enough to check if the cellphone is
available/in-use?

>Action: Originate
>Channel: OOH323/00733025975@Avaya\r\nExten: 0106024000
>Context: inputinterior.se
>Priority: 1
>Timeout: 1000
>CallerID: 106024000
>
>DBPut
>Family: DS
>Key: 0733025975
>Val: NOT_INUSE


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to