[asterisk-users] calls hang up even after Background() message eventhough response timeout is set to 10 sec

Jeronimo Romero jromero at eusnetworks.com
Mon Nov 27 00:06:26 MST 2006


I'm experiencing a strange problem. My inbound calls are hanging up
right after Background() message even though response timeout is set to
10 sec. 

[voicepulseincoming]

exten=>_X.,1,Answer
exte=>_X.,n,GotoIfTime(9:00-17:00|mon-thu|*|*?business-hours,s,1)
exten=>_X.,n,GotoIfTime(9:00-15:00|fri|*|*?business-hours,s,1)
exten=>_X.,n,GotoIfTime(*|*|*|*?after-business-hours,s,1)

[after-business-hours]

exten=>s,1,Answer
exten=>s,n,Set(TIMEOUT(digit)=10)
exten=>s,n,Set(TIMEOUT(response)=10)
exten=>s,n,SetVar(CALLFILENAME=${TIMESTAMP}:${CALLERIDNUM})
exten=>s,n,Monitor(gsm,/var/spool/asterisk/monitor/${CALLFILENAME},m)
exten=>s,n,Background(outside-business-hours)
exten=>s,n,Background(main-auto-attendant)
exten=>i,1,Goto(after-business-hours,s,7)
exten=> 411,1,Directory(default)
exten=> a,1,Goto(after-business-hours,s,7)
exten=> o,1,Goto(after-business-hours,s,7)


The call hangs up without respecting the 10 second response timeout.
I've seen people posting this issue but I haven't seen the solution.
Any help would be greatly appreciated. 

The asterisk console spits out the following message: 


    -- Playing 'outside-business-hours' (language 'en')
    -- Executing BackGround("IAX2/voicepulse01-1",
"main-auto-attendant") in new stack
    -- Playing 'main-auto-attendant' (language 'en')
  == Auto fallthrough, channel 'IAX2/voicepulse01-1' status is 'UNKNOWN'
    -- Hungup 'IAX2/voicepulse01-1'






More information about the asterisk-users mailing list