[Asterisk-Users] Integrating cell phone into Asterisk Extension..

John Morris jman_betelnut at yahoo.com
Wed Jul 23 00:26:35 MST 2003


This is a thread from Apr. 15 about how to make your
cell phone ring simultaneously with your other
extensions.  The solution was:

> Just use Dial,Zap/${DESK}&Zap/g1/${CELL}||t

I've tried this, and this is the behavior I see:

1)  ${DESK} extensions ring ONCE only (in my case, I
have the TDM400P with analog phones as extensions)

2)  ${DESK} extensions are hung up after just a few
seconds

3) ${CELL} is dialed

Any idea why this would happen?

SO, since this didn't work, I figured I'd ring ${DESK}
for 15 seconds first; if there was no pickup, I'd ring
${CELL} second; and if no pickup there, forward to
voicemail:

[john]
; my very own context!
exten => s,1,Dial(${DESK},20)
exten => t,1,Goto(john-cell,s,1)

[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.

Any clues?  If this worked, my life would be very
nice.  :)  Thanks!

    John


__________________________________
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