[Asterisk-Users] Gotoif question

John Hill jhill at noach.com
Thu Jan 6 06:30:11 MST 2005


Is there a way to combine these lines into one?

exten => s,2,GotoIf($["${CALLERIDNUM:0:3}" = "800"]?s|108)
exten => s,3,GotoIf($["${CALLERIDNUM:0:3}" = "866"]?s|108)
exten => s,4,GotoIf($["${CALLERIDNUM:0:3}" = "877"]?s|108)
exten => s,5,GotoIf($["${CALLERIDNUM:0:3}" = "888"]?s|108)

Thanks
--John




More information about the asterisk-users mailing list