System hangup when call without CALLERID is coming in

plin
Joined: Sun 31 of Aug, 2008

System hangup when call without CALLERID is coming in

Posted:Sun 31 of Aug, 2008 (15:49 UTC)
I’m running Asterisk 1.4.21.2 on a Core2Duo 2.4 GHz processor under OpenSuSE 11.0. The kernel version is 2.6.25.11-0.1-default #1 SMP 2008-07-13 20:48:28 +0200 x86_64 x86_64 x86_64 GNU/Linux

I’m using a AVM Fritz!Card behind a telephone system (Eumex 312), so my Asterisk system is attached to the internal S0 bus. When setting up Asterisk and ISDN I followed the instructions given on http://pbx-manager.de/installation-linux-asterisk.php.

I got fcpci-kmp-default-0.1_2.6.25.11_0.1-0.x86_64.rpm to match my kernel.

Since I want to catch telemarketers, my Asterisk needs to respond to calls without CALLERID. Whenever I try to call without CALLERID my whole Linux systems hangs up/freezes or whatever you want to call it. That even occurs when Asterisk is down, which means I have a general problem with my ISDN configuration. The only way out of the situation is turning the Linux system off and restarting.

My configuration is as follows.

[/etc/ capi.conf]:
# card  file    proto   io      irq     mem     cardnr  options
fcpci   -       -       -       -       -       1
fcpci   -       -       -       -       -       2
fcpci   -       -       -       -       -       3
fcpci   -       -       -       -       -       4
fcpci   -       -       -       -       -       5

[/etc/sysconfig/isdn/cfg-contr0]:
AREACODE="+49 111"
DIALPREFIX="0"
DRIVER="fcpci"
ISDNLOG_START="yes"
NAME="AVM FRITZ!Card PCI v2.0"
PARA_SUBTYPE="0"
PARA_TYPE="1000"
PROTOCOL="euro"
STARTMODE="auto"
UDI=""

/etc/sysconfig/isdn/cfg-contr1-/etc/sysconfig/isdn/cfg-contr14 look similar.

I manually removed the hisax drivers.

[lsmod]:
Module                  Size  Used by
hisax                 459092  0
crc_ccitt              19072  1 hisax
af_packet              42624  2
snd_pcm_oss            68992  0
snd_mixer_oss          35584  1 snd_pcm_oss
snd_seq                83600  0
binfmt_misc            30220  1
snd_seq_device         26516  1 snd_seq
iptable_filter         20736  0
ip_tables              39056  1 iptable_filter
ip6table_filter        20608  0
ip6_tables             40720  1 ip6table_filter
x_tables               43144  2 ip_tables,ip6_tables
ipv6                  331544  49
capidrv                47632  1
isdn                  161472  6 hisax,capidrv
slhc                   23040  1 isdn
fcpci                 664588  1
capi                   37568  0
capifs                 24080  2 capi
kernelcapi             64288  3 capidrv,fcpci,capi
microcode              32808  0
firmware_class         27776  1 microcode
cpufreq_conservative    26248  0
cpufreq_userspace      23556  0
cpufreq_powersave      18816  0
acpi_cpufreq           27536  1
fuse                   72256  1
loop                   37508  0
dm_mod                 88600  0
snd_hda_intel         497452  0
snd_pcm               115208  2 snd_pcm_oss,snd_hda_intel
snd_timer              45072  2 snd_seq,snd_pcm
snd_page_alloc         28688  2 snd_hda_intel,snd_pcm
iTCO_wdt               30800  0
ppdev                  26504  0
snd_hwdep              28424  1 snd_hda_intel
iTCO_vendor_support    21124  1 iTCO_wdt
i2c_i801               27804  0
parport_pc             59592  0
rtc_cmos               28728  0
snd                    96248  8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
sr_mod                 35764  0
intel_agp              48240  1
rtc_core               41012  1 rtc_cmos
r8169                  51204  0
i2c_core               45344  1 i2c_i801
button                 27040  0
parport                60448  2 ppdev,parport_pc
cdrom                  53416  1 sr_mod
soundcore              26000  1 snd
rtc_lib                20224  1 rtc_core
sg                     56912  0
sd_mod                 47280  10
ehci_hcd               56204  0
uhci_hcd               43936  0
usbcore               188376  3 ehci_hcd,uhci_hcd
edd                    28176  0
fan                    23944  0
thermal                44448  0
processor              72668  2 acpi_cpufreq,thermal
ext3                  170896  6
mbcache                27396  1 ext3
jbd                    82368  1 ext3
ata_piix               43396  8
libata                195104  1 ata_piix
scsi_mod              195032  4 sr_mod,sg,sd_mod,libata
dock                   29344  1 libata


[/var/log/boot.msg]:
Setting up ISDN card contr0 AVM FRITZ!Card PCI v2.0done
                     contr1 AVM FRITZ!Card PCI v2.0done
                     contr10 AVM FRITZ!Card PCI v2.0done
                     contr11 AVM FRITZ!Card PCI v2.0done
                     contr12 AVM FRITZ!Card PCI v2.0done
                     contr13 AVM FRITZ!Card PCI v2.0done
                     contr14 AVM FRITZ!Card PCI v2.0done
                     contr2 AVM FRITZ!Card PCI v2.0done
                     contr3 AVM FRITZ!Card PCI v2.0done
                     contr4 AVM FRITZ!Card PCI v2.0done
                     contr5 AVM FRITZ!Card PCI v2.0done
                     contr6 AVM FRITZ!Card PCI v2.0done
                     contr7 AVM FRITZ!Card PCI v2.0done
                     contr8 AVM FRITZ!Card PCI v2.0done
                     contr9 AVM FRITZ!Card PCI v2.0done
Loading Driver contr0 1 kcapi capidone
Initializing capi for contr0 (1)done
Loading Driver contr1 2done
Initializing capi for contr1 (2)done
Loading Driver contr10 3done
Initializing capi for contr10 (3)done
Loading Driver contr11 4done
Initializing capi for contr11 (4)done
Loading Driver contr12 5done
Initializing capi for contr12 (5)done
Loading Driver contr13 6done
Initializing capi for contr13 (6)done
Loading Driver contr14 7done
Initializing capi for contr14 (7)done
Loading Driver contr2 8done
Initializing capi for contr2 (8)done
Loading Driver contr3 9done
Initializing capi for contr3 (9)done
Loading Driver contr4 10done
Initializing capi for contr4 (10)done
Loading Driver contr5 11done
Initializing capi for contr5 (11)done
Loading Driver contr6 12done
Initializing capi for contr6 (12)done
Loading Driver contr7 13done
Initializing capi for contr7 (13)done
Loading Driver contr8 14done
Initializing capi for contr8 (14)done
Loading Driver contr9 15done
Initializing capi for contr9 (15)done

extract from [/var/log/messages]:
Aug 29 16:52:02 sylvester kernel: CAPI Subsystem Rev 1.1.2.8
Aug 29 16:52:02 sylvester kernel: capifs: Rev 1.1.2.3
Aug 29 16:52:02 sylvester kernel: capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
Aug 29 16:52:02 sylvester kernel: fcpci: module license 'Proprietary' taints kernel.
Aug 29 16:52:02 sylvester kernel: fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
Aug 29 16:52:02 sylvester kernel: fcpci: (fcpci built on Jul 23 2008 at 17:05:02)
Aug 29 16:52:02 sylvester kernel: fcpci: -- 64 bit CAPI driver --
Aug 29 16:52:02 sylvester kernel: ACPI: PCI Interrupt 0000:01:01.0[A] -> GSI 21 (level, low) -> IRQ 21
Aug 29 16:52:02 sylvester kernel: fcpci: AVM FRITZ!Card PCI found: port 0xc800, irq 21
Aug 29 16:52:02 sylvester kernel: fcpci: Loading...
Aug 29 16:52:02 sylvester kernel: fcpci: Driver 'fcpci' attached to fcpci-stack. (304)
Aug 29 16:52:02 sylvester kernel: fcpci: Stack version 3.11-07
Aug 29 16:52:02 sylvester kernel: kcapi: Controller [001]: fcpci-c800-21 attached
Aug 29 16:52:02 sylvester kernel: kcapi: card [001] "fcpci-c800-21" ready.
Aug 29 16:52:02 sylvester kernel: fcpci: Loaded.
Aug 29 16:52:02 sylvester kernel: ISDN subsystem Rev: 1.1.2.3/1.1.2.3/1.1.2.2/1.1.2.3/1.1.2.2/1.1.2.2 loaded
Aug 29 16:52:02 sylvester kernel: capidrv-1: now up (2 B channels)
Aug 29 16:52:02 sylvester kernel: capidrv-1: D2 trace enabled
Aug 29 16:52:02 sylvester kernel: capidrv: Rev 1.1.2.2: loaded
Aug 29 16:52:02 sylvester kernel: r8169: eth0: link up
Aug 29 16:52:02 sylvester kernel: NET: Registered protocol family 10
Aug 29 16:52:02 sylvester isdnlog: (AVM B1 driver detected (D2))

[capiinfo]
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 asynconous operation with start/stop byte framing
   V.110 synconous operation with HDLC framing
   T.30 modem for fax group 3
   Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
   ISO 7776 (X.75 SLP)
   Transparent
   LAPD with Q.921 for D channel X.25 (SAPI 16)
   T.30 for fax group 3
   ISO 7776 (X.75 SLP) with V.42bis compression
   V.120 asyncronous mode
   V.120 bit-transparent mode
B3 protocols support: 0x800000bf
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   X.25 DCE
   T.30 for fax group 3
   T.30 for fax group 3 with extensions
   Modem

  0100
  0200
  39000000
  1f010040
  1b0b0000
  bf000080
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS



Any idea what’s wrong with my specific set up?

Can I use hisax and fcpci at the same time?