[Asterisk-Users] Call Forwarding to Cell Phone, Pager, etc

Richard J. Sears rsears at americanIS.net
Wed Mar 2 20:43:37 MST 2005


Hi Neel - 

We did it by dialing several devices at once, then calling the cell and
then pulling the call back if no one answered the cell to allow the
local vm to handle vm functions. Here is how we did it:



[macro-stdexten_cell]
; ARG1 = Greeting
; ARG2 = Extension(s) to dial
; ARG3 = Cell Phone Number to dial
;
exten => s,1,Playback(${ARG1})
exten => s,2,Dial(${ARG2},15,rtm)
exten => s,3,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Dial(IAX2/blahblah at NuFone/${ARG3},15,rtm)
exten => s-NOANSWER,2,Voicemail(u${MACRO_EXTEN})
exten => s-CHANUNAVAIL,1,Voicemail(b${MACRO_EXTEN})             ;if chan unavail (sip phone not regisitered?)
;exten => s-NOANSWER,3,Goto(default,s,1)
exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN})
;exten => s-BUSY,2,Goto(default,s,1)
exten => s-.,1,Goto(s-NOANSWER,1)
exten => a,1,VoicemailMain(${MACRO_EXTEN})


Then here is the extension entry that made it happen:

exten => ${RJSWORK},1,Macro(stdexten_cell,sears_welcome,SIP/${RJSWORK}&SIP/${RJSDESK}&SIP/${RJSLAPTOP}&SIP/${RJSHOME},${RJSCELL})

All the variables are just the extensions numbers.

Hope this helps





On Wed, 2 Mar 2005 11:56:14 -0800
"Nitesh Divecha" <nitesh at vipernetworks.com> wrote:

> Hello all,
> 
> Was just wondering if Asterisk can do Call forwarding to cell phones,
> pagers, home phone, etc.
> 
> For example, if exten 202 is away, he will set his call blasting priority
> like first ring the exten for 10 sec if not answered then ring cell number
> for 10 sec again if not answered, then ring home and etc.
> 
> Like a call blasting priority...
> 
> Any help would be appreciated.
> 
> Neel
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


******************************************
Richard J. Sears
Vice President         
American Internet Services                          
----------------------------------------------------
rsears at adnc.com
http://www.adnc.com
----------------------------------------------------
858.576.4272 - Phone
858.427.2401 - Fax
INOC-DBA - 6130
----------------------------------------------------

I fly because it releases my mind 
from the tyranny of petty things . . 


"Work like you don't need the money, love like you've
never been hurt and dance like you do when nobody's
watching."




More information about the asterisk-users mailing list