[asterisk-users] Advanced Dial Plan

Frederico Madeira fmadeira at gmail.com
Thu Oct 25 15:07:02 CDT 2007


Thanks for advices.

The last one from Tilghman fit better for my needs.

Thanks a lot.

-- 
Frederico Madeira
fmadeira at gmail.com
www.madeira.eng.br




2007/10/25, Tilghman Lesher <tilghman at mail.jeffandtilghman.com>:
> On Thursday 25 October 2007 10:36:02 Brett Crapser wrote:
> > [outbound]
> > exten=> _X.,1,GotoIf([${CALLERID(num)} == "3000"]?path0|1)
>
> exten=> _X.,1,GotoIf([${CALLERID(num)} = "3000"]?path0,${EXTEN},1)
>
> > exten=> _X.,2,GotoIf([${CALLERID(num)} == "3001"]?path1|1)
>
> exten=> _X.,2,GotoIf([${CALLERID(num)} = "3001"]?path1,${EXTEN},1)
>
> > exten=> _X.,3,Playback(tt-monkeys)
> > exten=> _X.,4,Hangup
>
> You do not need double '=' and you were missing the ${EXTEN}.  Also, '|'
> separating arguments is now deprecated.
>
> --
> Tilghman
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list