Displaying 1 result from an estimated 1 matches for "yescode".
Did you mean:
rescode
2008 Jan 07
1
GotoIf() help
...and one office has a 1000 range for their
extensions so I have to make sure I don't pick that up as dialing long
distance. I think what I have below will work but it can probably be cleaned
up.... alot. Any help is greatly appreciated.
exten => s,n,GotoIf($[${DIAL_NUMBER} = 011XXXX. ] ? yescode : steptwo)
exten => s,n,(steptwo),GotoIf($[${DIAL_NUMBER} = 9XXXXXX. ] ? yescode :
stepthree)
exten => s,n,(stepthree),GotoIf($[${DIAL_NUMBER} = 1NXXNX. ] ? yescode :
nocode)
exten => s,n,(yescode),Playback(please-enter-the&accounting)
exten => s,n,Read(account|number|8)
exten...