[Asterisk-Users] Integrating cell phone into Asterisk Extension..
John Morris
jman_betelnut at yahoo.com
Wed Jul 23 19:37:27 MST 2003
Thanks for the reply!
I understand why the X100P can't detect pickup. Too
bad!
Is there any way to implement either of the following
solutions:
1) Ring office extensions (${DESK}, TDM400Ps)
simultaneously with ${CELL}. If ${DESK} picks up
first, we hang up on ${CELL} and everything's great.
If ${CELL} picks up and a '#' is heard, we hang up
${DESK}, and everything's great. Otherwise, after 20
seconds, we go to voicmail.
If that's too far out, how about this:
2) Ring office extensions ${DESK}; if no pickup after
20 seconds, hangup and ring ${CELL}. If ${CELL} is
picked up and a '#' is heard, everything's good. If
no '#' is heard after 20 seconds, hang up ${CELL} and
go to voicemail.
Thanks again for the help! Asterisk is changing my
phones from being a headache to being a pleasure. :)
John
> If you have a tdm400P I assume you probably have an
> X100P also. If you
> are dialing outside with an analog circuit you don't
> have definitive
> knowledge of them the other side is answered. With
> out this knowledge,
> your cell phone "answered" the line first and the
> desk phones loose the
> opportunity to answer.
>
> [...]
>
> Might want to change this last line from t to s,2.
> If I remember
> correctly, your dial will time out and then go into
> limbo till
> DigitTimeout, then go to t.
>
> > [john-cell]
> > ; call my cell if I don't answer
> > exten => s,1,Dial(Zap/g1/${CELL},20)
> > ; go to voicemail if I don't pick up the cell
> > exten => t,1,Voicemail,1002
> > exten => t,2,hangup
> >
> > This doesn't do what I need, either. If I don't
> pick
> > up ${DESK}, then ${CELL} is dialed. Problem is,
> even
> > if I answer ${CELL}, asterisk doesn't register
> that I
> > picked up, and after 20 seconds it hangs up on
> ${CELL}
> > and goes to voicemail. I'm using two X100Ps for
> FXO
> > devices, by the way.
>
> Do you have an AbsoluteTimeout set somewhere? BTW,
> your timeout
> shouldn't work for the cell phone since the X100P
> won't know when you
> "answered" the line or not, it will just assume
> answered.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the asterisk-users
mailing list