magnus.b at inputinterior.se
2011-Mar-26 09:50 UTC
[asterisk-users] Checking status of a cell phone
Hi, 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. Below example is for a ?Swedish? cell phone, dont know if it works in the same way for other countries. I could define ?redirecting? numbers for 3 traffic cases when u dial my mobile (073-302 59 75): NOT_INUSE call forward to A INUSE call forward to B in my case 010-602 4975 UNAVAILABLE call forward to C in my case 010-602 4976
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
magnus.b at inputinterior.se
2011-Mar-29 05:48 UTC
[asterisk-users] Checking status of a cell phone
I was a little unclear, it is not the cell phone that does the call-back, it is the cell-phone-network. We can define 3 traffic-cases per cell-phone: 1) If cell-phone wont anser in x seconds call number a. 2) if cell-phone is busy call number b. 3) if cell-phone is unavailable call number c.