I Just did a rebuild my server on a new computer. My configuration files was working ok on my old server. But now i have a problem with queues. After a certain amount of time the queue application just stop working . If i restart the server the queue start working again for a few days…
Example :
When everything is working ok
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Executing Macro("IAX2/FreeWorldTel-Out-3", "torrent|5149070837|IAX2/5149070837") in new stack
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Executing Answer("IAX2/FreeWorldTel-Out-3", "") in new stack
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Executing SetAccount("IAX2/FreeWorldTel-Out-3", "5139065855") in new stack
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Executing SetLanguage("IAX2/FreeWorldTel-Out-3", "fr") in new stack
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Executing DigitTimeout("IAX2/FreeWorldTel-Out-3", "3") in new stack
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Set Digit Timeout to 3
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Executing ResponseTimeout("IAX2/FreeWorldTel-Out-3", "10") in new stack
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Set Response Timeout to 10
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Executing BackGround("IAX2/FreeWorldTel-Out-3", "welcometo") in new stack
Aug 29 15:48:49 VERBOSE[22936] logger.c: -- Playing 'welcometo' (language 'fr')
Aug 29 15:48:52 VERBOSE[22936] logger.c: -- Executing BackGround("IAX2/FreeWorldTel-Out-3", "welcometoen") in new stack
Aug 29 15:48:52 VERBOSE[22936] logger.c: -- Playing 'welcometoen' (language 'fr')
Aug 29 15:48:57 VERBOSE[22936] logger.c: -- Executing BackGround("IAX2/FreeWorldTel-Out-3", "menu") in new stack
Aug 29 15:48:57 VERBOSE[22936] logger.c: -- Playing 'menu' (language 'fr')
Aug 29 15:49:07 VERBOSE[22936] logger.c: -- Executing BackGround("IAX2/FreeWorldTel-Out-3", "silence/1") in new stack
Aug 29 15:49:07 VERBOSE[22936] logger.c: -- Playing 'silence/1' (language 'fr')
Aug 29 15:49:08 VERBOSE[22936] logger.c: == CDR updated on IAX2/FreeWorldTel-Out-3
Aug 29 15:49:08 VERBOSE[22936] logger.c: -- Executing Set("IAX2/FreeWorldTel-Out-3", "CALLERID(name)=Q. Operateur") in new stack
Aug 29 15:49:08 VERBOSE[22936] logger.c: -- Executing Queue("IAX2/FreeWorldTel-Out-3", "Operator|ntr|30") in new stack
Aug 29 15:49:08 VERBOSE[22936] logger.c: -- outgoing agentcall, to agent '1003', on 'Local/2250@torrent-in-e1fd,1'
Aug 29 15:49:08 VERBOSE[22936] logger.c: -- Called Agent/1003
Aug 29 15:49:08 VERBOSE[22936] logger.c: -- Agent/1003 is ringing
Aug 29 15:49:10 VERBOSE[22936] logger.c: -- Agent/1003 answered IAX2/FreeWorldTel-Out-3
Now the same queu but when its not working :
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Executing Macro("IAX2/FreeWorldTel-Out-3", "torrent|5149070837|IAX2/5149070837") in new stack
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Executing Answer("IAX2/FreeWorldTel-Out-3", "") in new stack
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Executing SetAccount("IAX2/FreeWorldTel-Out-3", "5139065855") in new stack
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Executing SetLanguage("IAX2/FreeWorldTel-Out-3", "fr") in new stack
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Executing DigitTimeout("IAX2/FreeWorldTel-Out-3", "3") in new stack
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Set Digit Timeout to 3
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Executing ResponseTimeout("IAX2/FreeWorldTel-Out-3", "10") in new stack
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Set Response Timeout to 10
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Executing BackGround("IAX2/FreeWorldTel-Out-3", "welcometo") in new stack
Aug 29 16:01:55 VERBOSE[23019] logger.c: -- Playing 'welcometo' (language 'fr')
Aug 29 16:01:57 VERBOSE[23019] logger.c: -- Executing BackGround("IAX2/FreeWorldTel-Out-3", "welcometoen") in new stack
Aug 29 16:01:57 VERBOSE[23019] logger.c: -- Playing 'welcometoen' (language 'fr')
Aug 29 16:02:02 VERBOSE[23019] logger.c: == CDR updated on IAX2/FreeWorldTel-Out-3
Aug 29 16:02:02 VERBOSE[23019] logger.c: -- Executing Set("IAX2/FreeWorldTel-Out-3", "CALLERID(name)=Q. Operateur") in new stack
Aug 29 16:02:02 VERBOSE[23019] logger.c: -- Executing Queue("IAX2/FreeWorldTel-Out-3", "Operator|ntr|30") in new stack
See the application queue is called but nothing appen
And here what i got when the problem appen and i do a show channels
LEA*CLI> show channels
Channel Location State Application(Data)
SIP/220-3208 260@torrent-out:2 Ring Queue(Peter|ntr|30)
SIP/220-322a 220@torrent-out:8 Ring Queue(Alexis|ntr|30)
SIP/220-50ca 260@torrent-out:2 Ring Queue(Peter|ntr|30)
SIP/220-68b1 220@torrent-out:8 Ring Queue(Alexis|ntr|30)
SIP/230-ca4e 0@torrent-out:2 Ring Queue(Operator)
SIP/220-a75a 260@torrent-out:2 Ring Queue(Peter|ntr|30)
SIP/230-57dc 220@torrent-out:8 Ring Queue(Alexis|ntr|30)
SIP/230-22a6 0@torrent-out:2 Ring Queue(Operator)
SIP/230-2dca 220@torrent-out:8 Ring Queue(Alexis|ntr|30)
IAX2/FreeWorldTel-Ou 210@torrent-inside:8 Up Queue(Eric|ntr|30)
Agent/1003 s@torrent-in:1 Down (None)
Local/2250@torrent-i 2250@torrent-in:1 Ring (None)
Local/2250@torrent-i s@torrent-in:1 Down (None)
IAX2/FreeWorldTel-Ou 0@torrent-inside:2 Up Queue(Operator|ntr|30)
14 active channels
11 active calls
But The Problem is : Nobody is talking on the phone … Why do i have so many channels open?
Here is what i got in my extensions.conf for this queue :
exten=>0,1,Set(CALLERID(name)=Q. Operateur)
exten=>0,2,Queue(Operator,ntr,30)
exten=>0,3,Voicemail(u0@torrent)
exten=>0,4,Hangup()
This is only one example , I have currently 10 queues and when the problem appen all the queue stop working
Im still looking in my log but i don’t see any strange entry…
If someone can help me …
Thanks for Reading