[asterisk-users] Checking status of a cell phone
Gilles
codecomplete at free.fr
Sat Mar 26 05:37:02 CDT 2011
On Sat, 26 Mar 2011 10:50:19 +0100, <magnus.b at 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 at Avaya\r\nExten: 0106024000
>Context: inputinterior.se
>Priority: 1
>Timeout: 1000
>CallerID: 106024000
>
>DBPut
>Family: DS
>Key: 0733025975
>Val: NOT_INUSE
More information about the asterisk-users
mailing list