[Asterisk-Users] Follow Me

Ernest W. Lessenger ernest at oacys.com
Tue Sep 16 09:57:59 MST 2003


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