[asterisk-users] Route an incoming call by ANI*DNIS
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Tue Nov 20 09:28:33 CST 2007
On Tuesday 20 November 2007 02:38:38 Atis Lezdins wrote:
> I won't be able to help with hardware part, but there's a simple trick
> to get them as you want:
>
> [incoming]
> _X.,1,Set(DNIS=${CUT(${EXTEN:-4})})
> _X.,2,Goto,dnis,${DNIS},1
>
> [dnis]
> 6789 => ...
I don't think you've actually tested this, because if you had, you would find
that it does not work.
[incoming]
exten => _X.,1,Goto(dnis,${EXTEN:-4},1)
[dnis]
exten => 6789,1,.....
--
Tilghman
More information about the asterisk-users
mailing list