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.

From ami, a set db entry 0733025975 = 0 (Idle)
from ami, make a short call (1 second) to 0733025975
wait 0.5 second
check the db entry for 0733025975

when i wait for 0.5 second and my cell phone is busy, i will get a call to number "b"
I catch that call in dialplan and set 0733025975 = 1 (InUse)
Ofc, if cell-phone is unavailable, i will get call to number "c"
I catch that call in dialplan and set 0733025975 = 4 (Unavailable)

-----Ursprungligt meddelande----- From: Gilles
Sent: Monday, March 28, 2011 10:36 PM
To: [email protected]
Subject: Re: [asterisk-users] Checking status of a cell phone

On Mon, 28 Mar 2011 14:12:09 +0200, <[email protected]> wrote:
Its not the Avaya that makes the call back, it is mobile.

I thought the way you handled things, is that Asterisk would call your
cellphone through the Avaya PBX just to check whether the cellphone is
in_use/busy. At what point does the cellphone call Avaya or Asterisk
back?


--
_____________________________________________________________________
-- 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

--
_____________________________________________________________________
-- 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