I wrote a simple demo set of istructions in extensions.conf
[incoming]
exten => s,1,Answer()
exten => s,n,Background(vm-enter-num-to-call)
exten => s,n,goto(incoming,s,1)
exten => 1,1,Playback(digits/1)
exten => 1,2,goto(incoming,s,1)
exten => 2,1,Playback(digits/2)
exten => 2,2,goto(incoming,s,1)
exten => i,1,Playback(pbx-invalid)
exten => i,2,goto(incoming,s,1)
exten => t,1,Playback(vm-goodby)
exten => t,2,Hangup()
since i read in the manual that the default timeout should be 10 second i was expecting that after playing the “enter the num” message the system wait me to enter my choice whitin 10 second before reprompting again.
The real behaviour is that the system suddently reprompt me with the enter the num message. It seam that the timeout is not working or wrong.
So i explicitely used the ResponseTimeout() asserting for 5 second or response time as follow
[incoming]
exten => s,1,Answer()
exten => s,n,ResponseTimeout(5)
exten => s,n,Background(vm-enter-num-to-call)
exten => s,n,goto(incoming,s,1)
exten => 1,1,Playback(digits/1)
exten => 1,2,goto(incoming,s,1)
exten => 2,1,Playback(digits/2)
exten => 2,2,goto(incoming,s,1)
exten => i,1,Playback(pbx-invalid)
exten => i,2,goto(incoming,s,1)
exten => t,1,Playback(vm-goodby)
exten => t,2,Hangup()
This time the consolle show me the message
[Jul 20 14:16:00] WARNING[3651]: pbx.c:1797 pbx_extension_helper: No application ‘ResponseTimeout’ for extension (incoming, s, 2)
it seems that the ResponseTimeout() is not compiled or anyhow available in the system. I checked with the consolle command
zap show status
that ztdummy module was loaded… and was ok
So i need help to understand what is wrong.
btw i dont have any telefony card but only zaptel module for allowing ztdummy timing.
Tnx for help.
Fabio.