[Asterisk-Users] Follow Me
Ernest W. Lessenger
ernest at oacys.com
Wed Sep 17 12:30:12 MST 2003
At 06:48 PM 9/16/2003, you wrote:
>cell phone into the call (or my office number, etc.) I understand the
>selected numbers part of it, but not how to get it to use the three way. If
>I send it to Nufone first, I'm paying for a call to a local number (my
>cell) that I don't need to.
This should work...
[default]
exten => s,1,Dial(Zap/3,20,t) ; This is your desk phone
exten => s,2,Dial(Zap/2/1234567,20,t) ; This is your secondary POTS line
calling your office
exten => s,3,Dial(Zap/2/3217654,20,t) ; This is your secondary POTS line
calling your cell phone
; I've never tried this one coming up, but I think it's worth a shot as it
works just fine for local extensions
exten => s,4,Dial(Zap/2/3217654&Zap/3/3217654,20,t) ; This is your
secondary and tertiary POTS lines calling your cell phone anbd office
As long as none of these lines go to voicemail, they should fail over
properly in order. You can also make it more complicated with time-based
includes and gotos.
--Ernest
>At 09:57 AM 9/16/2003 -0700, Ernest W. Lessenger wrote:
> >At 11:22 PM 9/14/2003, you wrote:
> >>First -- Thanks to everyone who offered their help and tips on getting my
> >>Cisco 7960 working with Asterisk -- this is great stuff.
> >>
> >>Does anyone have any examples of "Follow Me" or other call forwarding with
> >>a single PSTN interface? Or a pointer on what I need to read to figure it
> >>out?
> >
> >Is this what you need? Basically, the local trunk and the Nufone trunk
> >fail over to each other. So, if you have a forward set up and transfer to
> >a non-local extension, the call will go out even if the original incoming
> >call was made on the PSTN line.
> >
> >[trunklocal]
> >exten => _NXXXXXX,1,Dial(${TRUNK}/${EXTEN})
> >exten => _NXXXXXX,102,Dial(${NUFONE}/1${AREACODE}${EXTEN})
> >exten => _NXXXXXX,203,Congestion()
> >
> >[iaxprovider]
> >exten => _1NXXNXXXXXX,1,Dial(${NUFONE}/${EXTEN})
> >exten => _1NXXNXXXXXX,102,Dial(${TRUNK})
> >exten => _1NXXNXXXXXX,203,Congestion()
> >exten => _011.,1,Dial(${NUFONE}/${EXTEN})
> >exten => _011.,102,Congestion()
> >exten => _1011.,1,Dial(${NUFONE}/${EXTEN})
> >exten => _1011.,102,Congestion()
> >
> >--Ernest
More information about the asterisk-users
mailing list