On Fri, Jun 18, 2010 at 10:51:40AM +0200, Aksel Celasun wrote:
Hello dear list.
I am currently working on a Automatic attendant, and the core things work,
but I think the loop function isn't working as expected.
I am testing this environment: a sip internal call from 301 to 501.
The
Extensions.conf
[mainmenu]
exten = 501,1,Answer
exten = 501,n,Wait(2)
exten = 501,n,Playback(velkommen_abacus)
exten = 501,n,Set(Loop=0)
exten = 501,n,While($[${Loop} 3])
exten = 501,n,Background(tast123vent_)
exten = 501,n,WaitExten(5)
exten = 501,n,Set(Loop=$[${Loop}+1])
exten =
Aksel Celasun wrote:
This should be:
exten = 501,n(LoopEnd),EndWhile
I don't understand, i do have the same thing you wrote above.
The difference between yours and his is that you had a n,(LoopEnd) and
it should be n(LoopEnd)
Doug
--
Ben Franklin quote:
Those who would give up
- Non-Commercial Discussion
Emne: Re: [asterisk-users] Automatic attendant - Error in CLI.
Aksel Celasun wrote:
This should be:
exten = 501,n(LoopEnd),EndWhile
I don't understand, i do have the same thing you wrote above.
The difference between yours and his is that you had a n,(LoopEnd