Bug#471460: asterisk: 100% CPU usage spikes

2008-03-25 Thread Ben Thompson
On Tue, Mar 18, 2008 at 02:21:49PM +0200, Tzafrir Cohen wrote:
 On Tue, Mar 18, 2008 at 11:57:09AM +, Ben Thompson wrote:
  Package: asterisk
  Version: 1:1.4.17~dfsg-2+b1
  Severity: important
  
  
  Hi
  
  I recenlty upgraded my asterisk system from etch to lenny and I am now 
  experiencing
  a problem where the system will periodically hang for a few seconds then 
  recover.
  I can't see anything unusual from the CLI, all that happens is asterisk 
  will randomly
  start to comsume 100% of the CPU and after around 10 seconds will return to 
  normal.
  When it happens I usually see a number of peer unreachable messages, but 
  that's about it.
  I am running out of time to debug this as my users need a stable system so 
  I should really
  be reverting back to etch, but if there is anything I can do to debug this 
  in the next day or so,
  let me know what to do and I will try it.
 
 Is this related to some DNS problems?
 
 Are those peers IAX or SIP peers?
 
 
 The first thing to debug this would be more aggressive logging and more
 verbose / debug, I guess. Enable the full log and use: 
 
   asterisk -rvd
 
 to enable some more messages to be generated.

Hi Tzafrir

I have sent my logs to your email address as I did not want to post
all my logs on the bug tracking system. I hope this helps as I have now
reverted back to etch.

Thanks

Ben Thompson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#470647: (libpri1.0: warning message - zt_pri_error: 1 copying 5 bytes LLC)

2008-03-19 Thread Ben Thompson
Hi

On further inspection of the logs it looks like this problem is
something to do with the lenght of the callerid :-

If I recieve a call from extension '1234' I get the error message, but
I do not see the message when the callerid is longer like '1234567890'.

Regards

Ben Thompson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#471460: asterisk: 100% CPU usage spikes

2008-03-18 Thread Ben Thompson
Package: asterisk
Version: 1:1.4.17~dfsg-2+b1
Severity: important


Hi

I recenlty upgraded my asterisk system from etch to lenny and I am now 
experiencing
a problem where the system will periodically hang for a few seconds then 
recover.
I can't see anything unusual from the CLI, all that happens is asterisk will 
randomly
start to comsume 100% of the CPU and after around 10 seconds will return to 
normal.
When it happens I usually see a number of peer unreachable messages, but 
that's about it.
I am running out of time to debug this as my users need a stable system so I 
should really
be reverting back to etch, but if there is anything I can do to debug this in 
the next day or so,
let me know what to do and I will try it.

Thanks


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages asterisk depends on:
ii  adduser   3.105  add and remove users and groups
ii  asterisk-config   1:1.4.17~dfsg-2Configuration files for Asterisk
ii  asterisk-sounds-main  1:1.4.17~dfsg-2Core Sound files for Asterisk (Eng
ii  libasound21.0.16-1   ALSA library
ii  libc-client2007   7:2007~dfsg-1  UW c-client library for mail proto
ii  libc6 2.7-6  GNU C Library: Shared libraries
ii  libcap1   1:1.10-14  support for getting/setting POSIX.
ii  libct30.63-3.2   libraries for connecting to MS SQL
ii  libcurl3  7.18.0-1   Multi-protocol file transfer libra
ii  libgcc1   1:4.3.0~rc2-1  GCC support library
ii  libgsm1   1.0.12-1   Shared libraries for GSM speech co
ii  libiksemel3   1.2-3  C library for the Jabber IM platfo
ii  libkrb53  1.6.dfsg.3~beta1-3 MIT Kerberos runtime libraries
ii  libncurses5   5.6+20080203-1 Shared libraries for terminal hand
ii  libnewt0.52   0.52.2-11.1Not Erik's Windowing Toolkit - tex
ii  libogg0   1.1.3-3Ogg Bitstream Library
ii  libpopt0  1.10-3 lib for parsing cmdline parameters
ii  libpq58.3.0-1PostgreSQL C client library
ii  libpri1.0 1.4.2-1Primary Rate ISDN specification li
ii  libradiusclient-ng2   0.5.5-1Enhanced RADIUS client library
ii  libsnmp15 5.4.1~dfsg-6   SNMP (Simple Network Management Pr
ii  libspeex1 1.1.12-3   The Speex Speech Codec
ii  libsqlite02.8.17-4   SQLite shared library
ii  libssl0.9.8   0.9.8g-4   SSL shared libraries
ii  libstdc++64.3.0~rc2-1The GNU Standard C++ Library v3
ii  libtonezone1  1:1.4.8~dfsg-1 tonezone library (runtime)
ii  libvorbis0a   1.2.0.dfsg-3   The Vorbis General Audio Compressi
ii  libvorbisenc2 1.2.0.dfsg-3   The Vorbis General Audio Compressi
ii  libvpb0   4.2.24-1   Voicetronix telephony hardware use
ii  unixodbc  2.2.11-16  ODBC tools libraries
ii  zlib1g1:1.2.3.3.dfsg-11  compression library - runtime

asterisk recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#470647: libpri1.0: warning message - zt_pri_error: 1 copying 5 bytes LLC

2008-03-12 Thread Ben Thompson
Package: libpri1.0
Version: 1.4.2-1
Severity: minor


Hi

I recently updated my Asterisk server from etch to lenny and I have started to 
recive
the following message when I recieve calls on my pri isdn link :-

[Mar 12 14:04:18] WARNING[4294]: chan_zap.c:8851 zt_pri_error: 1 copying 5 
bytes LLC

I am not sure how much of a problem this is as I don't fully understand the 
message.
My Asterisk box is connected to a Siemens Realitis DX and here are the relevent 
configs as
well as some Asterisk debug :-

zapata.conf :-

[channels]
echocancel=no
echocancelwhenbridged=no
rxgain=-5.0
txgain=0
musiconhold=default
language=en
context=from-realitis
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
priindication=outofband
signalling=pri_net
usecallerid=yes
cidsignalling=v23
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
callgroup=1
pickupgroup=1
immediate=no
overlapdial=yes
progzone=uk
resetinterval=43200
group=1
channel = 1-15
channel = 17-31

/etc/zaptel.conf :-

loadzone=us
defaultzone=us
span=1,0,0,ccs,hdb3,crc4
bchan=1-15,17-31
hardhdlc=16
span=2,0,0,ccs,hdb3,crc4
bchan=32-46,48-62
hardhdlc=47

1 -- Restarting T203 counter
1  Protocol Discriminator: Q.931 (8)  len=34
1  Call Ref: len= 2 (reference 1371/0x55B) (Originator)
1  Message type: SETUP (5)
1  [04 03 80 90 a3]
1  Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: Speech (0)
1   Ext: 1  Trans mode/rate: 64kbps, circuit-mode 
(16)
1   Ext: 1  User information layer 1: A-Law (35)
1  [18 03 a1 83 93]
1  Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Preferred  
Dchan: 0
1 ChanSel: Reserved
1Ext: 1  Coding: 0  Number Specified  Channel Type: 3
1Ext: 1  Channel: 19 ]
1  [6c 06 00 83 32 34 39 39]
1  Calling Number (len= 8) [ Ext: 0  TON: Unknown Number Type (0)  NPI: 
Unknown Number Plan (0)
1Presentation: Presentation allowed of network 
provided number (3)  '2499' ]
1  [70 04 80 38 34 31]
1  Called Number (len= 6) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown 
Number Plan (0)  '841' ]
1  [7c 03 80 90 a3]
1  Low-layer compatibilty (len= 5) [ 1 0x80 1 0x90 1 0xA3 1  ]
1 -- Making new call for cr 1371
1 -- Processing Q.931 Call Setup
1 -- Processing IE 4 (cs0, Bearer Capability)
1 -- Processing IE 24 (cs0, Channel Identification)
1 -- Processing IE 108 (cs0, Calling Party Number)
1 -- Processing IE 112 (cs0, Called Party Number)
1 -- Processing IE 124 (cs0, Low-layer Compatibility)
[Mar 11 11:32:31] WARNING[4294]: chan_zap.c:8851 zt_pri_error: 1 copying 5 
bytes LLC
1 q931.c:4226 q931_receive: call 1371 on channel 19 enters state 6 (Call 
Present)
1 -- Restarting T203 counter
1 q931.c:3302 q931_setup_ack: call 1371 on channel 19 enters state 25 (Overlap 
Receiving)
1 -- Restarting T203 counter
1  Protocol Discriminator: Q.931 (8)  len=14
1  Call Ref: len= 2 (reference 1371/0x55B) (Terminator)
1  Message type: SETUP ACKNOWLEDGE (13)
1  [18 03 a9 83 93]
1  Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Exclusive  
Dchan: 0
1 ChanSel: Reserved
1Ext: 1  Coding: 0  Number Specified  Channel Type: 3
1Ext: 1  Channel: 19 ]
1  [1e 02 81 88]
1  Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 
0  Location: Private network serving the local user (1)
1Ext: 1  Progress Description: Inband 
information or appropriate pattern now available. (8) ]
-- Accepting overlap voice call from '2499' to '841' on channel 0/19, span 1
-- Starting simple switch on 'Zap/19-1'
1 -- Restarting T203 counter




-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpri1.0 depends on:
ii  libc6 2.7-6  GNU C Library: Shared libraries

libpri1.0 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]