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

Reply via email to