Displaying 1 result from an estimated 1 matches for "voicemessage2".
Did you mean:
voicemessages
2013 May 23
1
GotoIf function
...it goes to the loopback again from the
beginning.
And following is the one I created, I just want to know whether this will
validate the input and will allow for 3 times....
exten => s,1,GotoIfTime(08:00-09:00,mon-fri,*,*?2:avgtech,1)
exten => s,n,Background(voicemessage_1)
exten => s,n(voicemessage2),Background(voicemessage_2)
exten => s,n(begin),Set(wait=2)
exten => s,n,Set(gottries=0)
exten => s,n,Read(get,"silence/1",,,,${wait})
exten => s,n(gotnothing),Set(gottries=$[${gottries}+1]
exten => s,n,GotoIf($[${LEN(${get})} == 0]?reallynothing:gotdigit)
exten => s,n...