No subject


Mon Jan 10 01:51:56 CST 2011


Wait a second...

Action: DBGet\r\nFamily: DS\r\nKey: 0733025975\r\n\r\n

In the dialplan:
exten =3D> 0106024975,1,Set(DB(DS/0733025975)=3DINUSE)
exten =3D> 0106024975,n,Hangup()

exten =3D> 0106024976,1,Set(DB(DS/0733025975)=3DUNAVAILABLE)
exten =3D> 0106024976,n,Hangup()

Just a short call to my cell phone, to se if i get anything back, my =
cell phone doesn=E2=80=99t 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 =E2=80=9Cto ask=E2=80=9D =
my cell phone =E2=80=9Cwhat I am doing=E2=80=9D=20
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 =
=E2=80=9Cblind=E2=80=9D is nothing.
------=_NextPart_001_00F9_01CBEBA3.993539F0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: Quoted-Printable

<HTML><HEAD></HEAD>
<BODY dir=3Dltr>
<DIV dir=3Dltr>
<DIV style=3D"FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am looking for a way to check the status of a cell phone. Found =
one way=20
that worked for me and would like to have some feedback or suggestion of =

improvments.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Below example is for a =E2=80=9CSwedish=E2=80=9D cell phone, dont =
know if it works in the=20
same way for other countries.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I could define =E2=80=9Credirecting=E2=80=9D numbers for 3 traffic =
cases when u dial my=20
mobile (073-302 59 75):</DIV>
<DIV>NOT_INUSE call forward to A</DIV>
<DIV>INUSE call forward to B in my case 010-602 4975</DIV>
<DIV>UNAVAILABLE call forward to C in my case 010-602 4976</DIV>
<DIV>&nbsp;</DIV>
<DIV>From manager:</DIV>
<DIV>Action: Originate\r\nChannel: OOH323/00733025975 at Avaya\r\nExten:=20
0106024000\r\nContext: inputinterior.se\r\nPriority: 1\r\nTimeout:=20
1000\r\nCallerID: 106024000\r\n\r\n</DIV>
<DIV>DBPut\r\nFamily: DS\r\nKey: 0733025975\r\nVal: =
NOT_INUSE\r\n\r\n</DIV>
<DIV>&nbsp;</DIV>
<DIV>Wait a second...</DIV>
<DIV>&nbsp;</DIV>
<DIV>Action: DBGet\r\nFamily: DS\r\nKey: 0733025975\r\n\r\n</DIV>
<DIV>&nbsp;</DIV>
<DIV>In the dialplan:</DIV>
<DIV>exten =3D&gt; 0106024975,1,Set(DB(DS/0733025975)=3DINUSE)</DIV>
<DIV>exten =3D&gt; 0106024975,n,Hangup()</DIV>
<DIV>&nbsp;</DIV>
<DIV>exten =3D&gt; =
0106024976,1,Set(DB(DS/0733025975)=3DUNAVAILABLE)</DIV>
<DIV>exten =3D&gt; 0106024976,n,Hangup()</DIV>
<DIV>&nbsp;</DIV>
<DIV>Just a short call to my cell phone, to se if i get anything back, =
my cell=20
phone doesn=E2=80=99t even ring.</DIV>
<DIV>Wait a second if the call is redirected, then check to se if the =
status has=20
changed from NOT_INUSE to something else.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Dont know if it is a stupid idea, but it worked on my cell phone, =
and the=20
switchboard girls was very happy to be able =E2=80=9Cto ask=E2=80=9D my =
cell phone =E2=80=9Cwhat I am=20
doing=E2=80=9D <IMG=20
style=3D"BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; =
BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none"=20
class=3D"wlEmoticon wlEmoticon-smile" alt=3DLer=20
src=3D"cid:5357A32E4AD84519B9EBA6F2414E4685 at mabePC"></DIV>
<DIV>Most of the day i am INUSE so they dont need to transfer calls to =
me ehen=20
they know I am INUSE.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Ofc there is some delay from asking to getting the answer, but as =
the girls=20
said, we could live with the delay, 2seconds compared to be =
=E2=80=9Cblind=E2=80=9D is=20
nothing.</DIV></DIV></DIV></BODY></HTML>

------=_NextPart_001_00F9_01CBEBA3.993539F0--

------=_NextPart_000_00F8_01CBEBA3.993512E0
Content-Type: image/png;
	name="wlEmoticon-smile[1].png"
Content-ID: <5357A32E4AD84519B9EBA6F2414E4685 at mabePC>
Content-Transfer-Encoding: Base64

iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAJcEhZcwAADsEAAA7BAbiRa+0AAAOmSURBVDhPhZQPSJx1GMefGl2tJCIwxhwSo40o
iKBi4YTcFkStoBZNHdZglUs2VmtLrauV/cG4FltzGLakmCV3TtS0TcWxO7wSbtrW1tLd1ro5lXM7
552eU1+vu0/P+54Gm0o/eODH73nfL9/n+3yfR2SOc80laaM/ij1SJZ7h76R/6FthsEL6g/vF0/+V
2C99KWlz/XfdGzViizrFMeqU8QnfE8T+3kQ8uBXCbxLvzSZ2KoOxpkX0OmT8wmfiOPOh2OYEHXVJ
atQlPqNrDUyUw+R+GP8Coh/ByE4Y2gxXcuBSJomee4lW2+j5QHzn3pXU2YwUaOrPdXTu20DLlnQr
Tn6TTyL6sYIVEr/yxqzcpEs4vUN81zHU0kqNE2vpqcnlbN2nTISDVnQ77fz101oFK6Kn6rHZuQNC
+Guhs0BKLXaW2E4xiDlpLkjDiF5l5kxc7bcYMlo0f+5XBcsXw/uypMtItZRM/vY8JGpp2phi4VRW
VpKXl2fd67NFwd6ZP+cTLu8RvBukRLT93lhfEfxTRfPmRQz1eFHCVgz+3my9MfLW/LkOYbJaOLZe
vDL8vQQT4c/BqCDQkmcxmYmG3AX0tjwNka0EGjNm59R//CLEDwtHX5CghA6oXmMOtcMetYOGcRBi
7TDlhmv7FGib+uw1CK6Dy2qT/rch8DqcVxm8Ctau0Sa0PiuGqLOD8cEd6qdPpqNENXrf0ikJlK8g
6q+Lq6H7QThxD/hutRjh0TimzOqF5qeUmTkise6X9MdC2natINCWbWlEeAsMKyMTqPdJOPsQnFoC
x28H7WBALdGWr2BHhXG1SNMa8UjfXimONuuHwwX4656h9tX7iPyhAKGNydICq8D/sAKpRTrvhI4F
ROqE2hcF/24FaxHOFwoNq6RYBvZKet9u1W0gh6mLuXSVP0pZRgruXUvxH7yfsHs5Y+2LCR9OwV92
M+5tQtkjQpddmGoUEg3Cz1liNK5Un5nHHNroocVaTpZGJv6qZdRvuovylTZKl99EyRKhdJlQvkI7
nTPNqFVZHdH7dn3LFMd/82nOljm0Rt3dqs1SOKPanEwlcuQOQrU2Qk4hpF6KHEpqxDTQwHtaXqb4
ah64YXuY0396p/jCFTbt1m0q9C2qT9JHVvu1axaQamSWdk4ZmUCuzBu2xgzFju2yUIfWcVxnLaji
Tv6QNORM+82uXShOamSW5npcFv7vkux4RdLac8XuXi8e09mtzyV9ZLa/IUvsTavn3rT/AoCMNE+u
BSe8AAAAAElFTkSuQmCC

------=_NextPart_000_00F8_01CBEBA3.993512E0--




More information about the asterisk-users mailing list