SV: [asterisk-users] Help debugging strange asterisk behaviour

jan.sarin at securia.se jan.sarin at securia.se
Fri Aug 4 03:19:42 MST 2006


Ok. I have an update! When all the problems begin (described below) the 'show queues' command doesn't work either!! The queues have dissappeared (or asterisk is unable to read them?)!

What the heck is going on? Why are the queues gone by themselves? When I restart they're back.

Queues.conf in previous e-mail. Please! Someone help. I even reinstalled the machine with asterisk 1.2.10 stable. Same problem. This config worked fine on my previous machine.

Thanks.

Regards,
Jan


-----Ursprungligt meddelande-----
Från: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] För jan.sarin at securia.se
Skickat: den 2 augusti 2006 13:25
Till: asterisk-users at lists.digium.com
Ämne: SV: [asterisk-users] Help debugging strange asterisk behaviour

I'm thinking this could be a queue problem?

But I still don't understand why the hell it just flips out after a few hours. Now it all ran for about 12 hours since last reboot (longest so far). And this config worked on my old install of asterisk...

Problem description (one of them):
Incoming call gets answered and processed all the way to "exten => 1,n,Queue(1000|tTn|||300)". But it seems like the queue doesn't pick up the call, nothing happens. No MoH, no nothing, just silence. Caller is not sent to free agent. It just "hangs" there.

Example of incomming call that gets sent to queue (from extensions_custom.conf):

exten => 1,1,Macro(custom-callerid,${CALLERIDNUM},SPARR)
exten => 1,n,Wait(2)
exten => 1,n,Set(QUEUE_PRIO=10)
exten => 1,n,Set(MONITOR_FILENAME=/new/monitor/queues/${TIMESTAMP}-${CALLERID(name)}-${CALLERID(num)}-${UNIQUEID})
exten => 1,n,Queue(1000|tTn|||300)
exten => 1,n,Macro(failover-alarm,SPARR,custom-incoming-3000,1,4)

My queues_custom.conf:
----------------------------------------------------------------
[1000]
wrapuptime=10
timeout=600
strategy=leastrecent
retry=15
queue-youarenext=
queue-thereare=
queue-thankyou=queue-thankyou
queue-callswaiting=
music=default
monitor-join=yes
monitor-format=wav
maxlen=0
leavewhenempty=strict
joinempty=strict
context=
announce-holdtime=no
announce-frequency=0
periodic-announce=custom/general_queue_message
periodic-announce-frequency=60

member=Agent/1001 ; Agent 1001


[1001]
wrapuptime=10
timeout=600
strategy=leastrecent
retry=15
queue-youarenext=
queue-thereare=
queue-thankyou=queue-thankyou
queue-callswaiting=
music=default
monitor-join=yes
monitor-format=wav
maxlen=0
leavewhenempty=strict
joinempty=strict
context=
announce-holdtime=no
announce-frequency=0
periodic-announce=custom/general_queue_message
periodic-announce-frequency=60

member=Agent/1001 ; Agent 1001


[1002]
wrapuptime=10
timeout=600
strategy=leastrecent
retry=15
queue-youarenext=
queue-thereare=
queue-thankyou=queue-thankyou
queue-callswaiting=
music=default
monitor-join=yes
monitor-format=wav
maxlen=0
leavewhenempty=strict
joinempty=strict
context=
announce-holdtime=no
announce-frequency=0
periodic-announce=custom/general_queue_message
periodic-announce-frequency=60

member=Agent/1008 ; Agent 1008


-----Ursprungligt meddelande-----
Från: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] För jan.sarin at securia.se
Skickat: den 2 augusti 2006 11:52
Till: asterisk-users at lists.digium.com
Ämne: SV: [asterisk-users] Help debugging strange asterisk behaviour

I think I'm using native since I don't recall installing anything else (except lame codec). How do I check which I am using? I'm unfortunately no asterisk expert that's why I need your help! ;)

My musiconhold.conf (I have no musiconhold_additional.conf):
;
; Music on hold class definitions
; This is using the new 1.2 config file format, and will not work with 1.0 ; based Asterisk systems ; [default] mode=files
directory=/var/lib/asterisk/mohmp3
#include musiconhold_additional.conf

Thanks very much for your time!

Regards,
Jan

-----Ursprungligt meddelande-----
Från: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] För Mojo with Horan & Company, LLC
Skickat: den 1 augusti 2006 23:20
Till: Asterisk Users Mailing List - Non-Commercial Discussion
Ämne: Re: [asterisk-users] Help debugging strange asterisk behaviour

Are you using mpg123 for MoH or native?  What's in your musiconhold.conf?



jan.sarin at securia.se wrote:
> Hi,
> 
> I'm one of those types who want to know what the heck is wrong when 
> something is wrong.
> 
> I just installed a new server (see config below) and it all works fine 
> for a few hours. But after 3-5 hours asterisk starts behaving VERY 
> strangely for no apparent reason...
> 
> 1) MoH stops playing
> 2) Some calls are not hung up from Zap-side
> 3) Flash Operator Panel starts showing all kind of random letters.
> 4) Agents are unable to login/logout.
> 
> ..and so on. But the strange thing is that some things seem to work 
> perfectly fine as usual. Inbound calls are getting playbacks() but no 
> MoH when sent to queue, and caller is not sent to an agent. Outgoing 
> sip and zap calls work fine (until all zapchans are filled because of 
> the above hangup problem which is NOT consistent).
> 
> I've tried to debug the asterisk log but there are NO ERRORS!
> 
> I have asterisk installed on a Dell 2850 server with dual Xeon CPU's.
> I'm running CentOS 4.3 x86_64 and asterisk SVN-branch-1.2-r38611M with
> freepbx-2.1.1 ontop of it all.
> 
> I would really appreciate some thoughts on this. Please ask me for 
> furhter info if needed since I'm no "debugger". It's a hell of a task 
> to reinstall the whole server so I'd like to know what went wrong this 
> time first.
> 
> Regards,
> Jan
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> !DSPAM:500,44cf6f0c41131882367086!
> 

--
Mojo <mojo at horanappraisals.com>
Office Manager, Horan & Company, LLC
(907) 747-6666 x112
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list