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 >From manager: Action: Originate\r\nChannel: OOH323/00733025975@Avaya\r\nExten: 0106024000\r\nContext: inputinterior.se\r\nPriority: 1\r\nTimeout: 1000\r\nCallerID: 106024000\r\n\r\n DBPut\r\nFamily: DS\r\nKey: 0733025975\r\nVal: NOT_INUSE\r\n\r\n Wait a second... Action: DBGet\r\nFamily: DS\r\nKey: 0733025975\r\n\r\n In the dialplan: exten => 0106024975,1,Set(DB(DS/0733025975)=INUSE) exten => 0106024975,n,Hangup() exten => 0106024976,1,Set(DB(DS/0733025975)=UNAVAILABLE) exten => 0106024976,n,Hangup() Just a short call to my cell phone, to se if i get anything back, my cell phone doesn’t even ring. Wait a second if the call is redirected, then check to se if the status has changed from NOT_INUSE to something else. Dont know if it is a stupid idea, but it worked on my cell phone, and the switchboard girls was very happy to be able “to ask” my cell phone “what I am doing” Most of the day i am INUSE so they dont need to transfer calls to me ehen they know I am INUSE. Ofc there is some delay from asking to getting the answer, but as the girls said, we could live with the delay, 2seconds compared to be “blind” is nothing.
<<wlEmoticon-smile[1].png>>
-- _____________________________________________________________________ -- 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