Ja, TE Mode, ich will einfach nur nach außen Telefonieren. Via SIP auf LCR und von LCR nach draußen, in diesem Fall auf mein Handy. Ich habs erstmal über die CLI versucht mit console dial, um eventuelle SIP Probleme zu umgehen. Extensions.conf sieht da so aus, also der Eintrag:
exten => 015771xxxx,1,Dial(LCR/misdn_nt/{EXTEN})
Die Logs zeigen nicht soviel. Ich habe ein paar mal versuch rauszutelefonieren und ein paar mal versucht vom Handy aus auf dem anschluss anzurufen und die Karte reagiert dabei gar nicht:
16.07.10 10:07:59.778 --: LCR 1.7 started, waiting for calls...
16.07.10 10:08:03.066 --: REMOTE APP registers app name=asterisk
16.07.10 10:22:45.539 CH: DL_ESTABLISH REQUEST U->N port 1 tei 0
16.07.10 10:22:45.546 CH: PORT (open) port 1 mode terminal channels 2
16.07.10 10:22:45.694 CH: DL_ESTABLISH REQUEST U->N port 0 tei 0
16.07.10 10:22:45.694 CH: PORT (open) port 0 mode terminal channels 2
16.07.10 10:22:45.716 --: LCR 1.7 started, waiting for calls...
16.07.10 10:22:45.716 CH: PH_ACTIVATE INDICATION U<-N port 0
16.07.10 10:22:48.667 --: REMOTE APP registers app name=asterisk
16.07.10 10:22:52.540 CH: PH_DEACTIVATE INDICATION U<-N port 1
16.07.10 10:26:30.522 EP(1): CHANNEL SELECTION (no external interface specified) info 'Add 'extern' parameter to interface.conf.'
16.07.10 10:26:30.522 EP(1): INTERFACE (too busy) interface 'any interface'
16.07.10 10:26:30.522 EP(1): INTERFACE (no free ports found)
16.07.10 10:27:25.926 EP(2): CHANNEL SELECTION (no external interface specified) info 'Add 'extern' parameter to interface.conf.'
16.07.10 10:27:25.926 EP(2): INTERFACE (too busy) interface 'any interface'
16.07.10 10:27:25.926 EP(2): INTERFACE (no free ports found)
16.07.10 10:27:44.294 EP(3): CHANNEL SELECTION (no external interface specified) info 'Add 'extern' parameter to interface.conf.'
16.07.10 10:27:44.294 EP(3): INTERFACE (too busy) interface 'any interface'
16.07.10 10:27:44.294 EP(3): INTERFACE (no free ports found)
16.07.10 10:29:44.814 EP(4): CHANNEL SELECTION (no external interface specified) info 'Add 'extern' parameter to interface.conf.'
16.07.10 10:29:44.814 EP(4): INTERFACE (too busy) interface 'any interface'
16.07.10 10:29:44.814 EP(4): INTERFACE (no free ports found)
16.07.10 10:30:14.857 EP(5): CHANNEL SELECTION (found given interface) interface misdn_nt
16.07.10 10:30:14.857 EP(5): CHANNEL SELECTION (port's layer 2 is down, skipping) port 0 position 0
16.07.10 10:30:14.857 EP(5): INTERFACE (too busy) interface misdn_nt
16.07.10 10:30:14.857 EP(5): INTERFACE (no free ports found)
var/log/asterisk/messages
[Jul 16 10:27:44] NOTICE[2050] console_video.c: voice only, console video support not present
[Jul 16 10:27:44] NOTICE[2052] chan_lcr.c: [call=NULL ast=NULL] Received request from Asterisk. (data=0157713xxxxx)
[Jul 16 10:27:44] NOTICE[2052] chan_lcr.c: [call=0 ast=NULL] Call instance allocated.
[Jul 16 10:27:44] NOTICE[2052] chan_lcr.c: [call=NULL ast=lcr/3] Received call from Asterisk.
[Jul 16 10:27:44] NOTICE[2052] chan_lcr.c: [call=NULL ast=NULL] Sending (null) to socket.
[Jul 16 10:27:44] NOTICE[1851] chan_lcr.c: [call=NULL ast=NULL] Received new ref by LCR, as requested from chan_lcr. (ref=3)
[Jul 16 10:27:44] NOTICE[1851] chan_lcr.c: [call=3 ast=lcr/3] Sending setup to LCR. (interface= dialstring=015771360963, cid=)
[Jul 16 10:27:44] NOTICE[1851] chan_lcr.c: [call=NULL ast=NULL] Sending MESSAGE_SETUP to socket.
[Jul 16 10:27:44] NOTICE[1851] chan_lcr.c: [call=3 ast=lcr/3] Incomming release from LCR, releasing ref. (cause=34)
[Jul 16 10:27:44] NOTICE[1851] chan_lcr.c: [call=0 ast=lcr/3] Sending queued HANGUP to Asterisk.
[Jul 16 10:27:44] NOTICE[2052] chan_lcr.c: [call=0 ast=lcr/3] Received hangup from Asterisk thread.
[Jul 16 10:27:44] NOTICE[2052] chan_lcr.c: [call=0 ast=lcr/3] Freeing call instance, because we have no ref AND we are requesting no ref.
[Jul 16 10:27:44] NOTICE[2052] chan_lcr.c: [call=0 ast=NULL] Call instance freed.
[Jul 16 10:27:45] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:46] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:47] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:48] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:49] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:50] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:51] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:52] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:53] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jul 16 10:27:54] WARNING[2052] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory
Das ist ja auch das was mir in der CLI ausgegeben wird.
in /var/log/messages sieht man einerseits das hier:
Jul 16 10:22:41 lear-asterisk kernel: [ 8.876192] Modular ISDN core version 1.1.21
Jul 16 10:22:41 lear-asterisk kernel: [ 8.876192] NET: Registered protocol family 27
Jul 16 10:22:41 lear-asterisk kernel: [ 8.894651] hfcpci 0000:00:00.0: enabling device (0000 -> 0003)
Jul 16 10:22:41 lear-asterisk kernel: [ 8.894916] mISDN_hfcpci: found adapter CCD/Billion/Asuscom 2BD0 at 0000:00:00.0
Jul 16 10:22:41 lear-asterisk kernel: [ 8.894923] mISDN: HFC-PCI driver 2.0
Jul 16 10:22:41 lear-asterisk kernel: [ 8.895050] HFC-PCI: defined at mem 0xe1036d00 fifo 0xdf508000(0x4060000) IRQ 21 HZ 250
Jul 16 10:22:41 lear-asterisk kernel: [ 8.895190] HFC 1 cards installed
Jul 16 10:22:41 lear-asterisk kernel: [ 8.895312] hfcpci 0000:00:01.0: enabling device (0000 -> 0003)
Jul 16 10:22:41 lear-asterisk kernel: [ 8.895533] mISDN_hfcpci: found adapter CCD/Billion/Asuscom 2BD0 at 0000:00:01.0
Jul 16 10:22:41 lear-asterisk kernel: [ 8.895538] mISDN: HFC-PCI driver 2.0
Jul 16 10:22:41 lear-asterisk kernel: [ 8.895632] HFC-PCI: defined at mem 0xe104ac00 fifo 0xdf560000(0xb86e8000) IRQ 18 HZ 250
Jul 16 10:22:41 lear-asterisk kernel: [ 8.895699] HFC 2 cards installed
Jul 16 10:22:41 lear-asterisk kernel: [ 111.833448] EXT3 FS on sda1, internal journal
Jul 16 10:22:41 lear-asterisk rsyslogd: [origin software="rsyslogd" swVersion="3.18.6" x-pid="1425" x-info="http://www.rsyslog.com"] restart
Jul 16 10:22:41 lear-asterisk kernel: [ 115.555060] NET: Registered protocol family 10
Jul 16 10:22:41 lear-asterisk kernel: [ 115.555060] lo: Disabled Privacy Extensions
Jul 16 10:22:41 lear-asterisk kernel: [ 115.695665] DSP modul 2.0
Jul 16 10:22:41 lear-asterisk kernel: [ 115.695675] mISDN_dsp: DSP clocks every 64 samples. This equals 2 jiffies.
Jul 16 10:22:45 lear-asterisk kernel: [ 119.380666] HFC_PCI: resetting HFC ChipId(30)
Jul 16 10:22:45 lear-asterisk kernel: [ 119.526885] HFC PCI: IRQ 18 count 32
Jul 16 10:22:45 lear-asterisk kernel: [ 119.539109] HFC_PCI: resetting HFC ChipId(30)
Jul 16 10:22:45 lear-asterisk kernel: [ 119.686964] HFC PCI: IRQ 21 count 35
Jul 16 10:22:46 lear-asterisk kernel: [ 120.311477] warning: `ntpd' uses 32-bit capabilities (legacy support in use)
was ja nicht schlecht aussieht, aaaber diese Ausgabe macht micht stutzig:
Jul 16 10:22:59 lear-asterisk kernel: [ 133.689481] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:04 lear-asterisk kernel: [ 138.702304] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:09 lear-asterisk kernel: [ 143.701510] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:14 lear-asterisk kernel: [ 148.705499] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:19 lear-asterisk kernel: [ 153.717510] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:24 lear-asterisk kernel: [ 158.717575] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:29 lear-asterisk kernel: [ 163.717628] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:34 lear-asterisk kernel: [ 168.717716] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:39 lear-asterisk kernel: [ 173.719035] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:44 lear-asterisk kernel: [ 178.717833] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:49 lear-asterisk kernel: [ 183.717927] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:54 lear-asterisk kernel: [ 188.717980] l2mgr: addr:0 prim 1f04 G
Jul 16 10:23:59 lear-asterisk kernel: [ 193.718186] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:04 lear-asterisk kernel: [ 198.718182] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:09 lear-asterisk kernel: [ 203.719034] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:14 lear-asterisk kernel: [ 208.718959] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:19 lear-asterisk kernel: [ 213.719034] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:24 lear-asterisk kernel: [ 218.718734] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:29 lear-asterisk kernel: [ 223.720468] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:34 lear-asterisk kernel: [ 228.720195] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:39 lear-asterisk kernel: [ 233.719212] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:44 lear-asterisk kernel: [ 238.719369] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:49 lear-asterisk kernel: [ 243.720124] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:54 lear-asterisk kernel: [ 248.719765] l2mgr: addr:0 prim 1f04 G
Jul 16 10:24:59 lear-asterisk kernel: [ 253.719927] l2mgr: addr:0 prim 1f04 G
der Fehler kommt am laufenden Band, was ist das
Ich sollte hier an der Stelle vielleicht noch erwähnen, dass es sich hier um eine DomU handelt und ich die PCI Karten durchgereicht habe.... und bevor gleich ein großer Aufschrei kommt: ja, das war erfolgreich lspci zeigt mir die Karten an, das hat also alles geklappt. Kernel ist übrigens der 2.6.26-2-xen-686
Übrigens, sparkie: Danke für die Hilfe bis jetzt