Asterisk 1.2.7.1 chan_misdn-0.3.0 (Xen)Kernel 2.6.16.4

Denny

Neuer User
Mitglied seit
23 Nov 2005
Beiträge
29
Punkte für Reaktionen
0
Punkte
0
hi,

nach langer Pause versuche ich es wieder unter einem Xen Kernel, Asterisk zum Laufen zu bewegen. Der Xen(3.0.2) nutzt den Kernel 2.6.16.4. Diesen habe ich mit misdn ensprechend ausgestattet. Asterisk ist auf dem neusten Stand.

Im Gegensatz zu früher, bekomme ich schonmal wieder einen Wählton hin, allerdings war es das auch schon. Wenn ich irgendwas wähle, bekomme ich sofort ein Busy:


Thu Apr 20 16:01:00 2006: P[ 0] -- mISDN Channel Driver Registred -- (BE AWARE THIS DRIVER IS EXPERIMENTAL!)
Thu Apr 20 16:01:03 2006: P[ 2] I IND :SETUP oad:400 dad:
Thu Apr 20 16:01:03 2006: P[ 2] read_config: Getting Config
Thu Apr 20 16:01:03 2006: P[ 2] config_jb: Called
Thu Apr 20 16:01:03 2006: P[ 2] I SEND:SETUP_ACKNOWLEDGE oad:400 dad:
Thu Apr 20 16:01:03 2006: P[ 2] --> bc_state:BCHAN_CLEANED
Thu Apr 20 16:01:05 2006: P[ 2] I IND :INFORMATION oad:400 dad:
Thu Apr 20 16:01:05 2006: P[ 2] I IND :INFORMATION oad:400 dad:4
Thu Apr 20 16:01:05 2006: P[ 2] I IND :INFORMATION oad:400 dad:40
Thu Apr 20 16:01:06 2006: P[ 2] * IND : Indication [5] from s-BUSY
Thu Apr 20 16:01:06 2006: P[ 2] * IND : busy
Thu Apr 20 16:01:06 2006: P[ 2] --> * SEND: State Busy pid:0
Thu Apr 20 16:01:06 2006: P[ 2] I SEND:DISCONNECT oad:400 dad:400
Thu Apr 20 16:01:06 2006: P[ 2] --> bc_state:BCHAN_ACTIVATED
Thu Apr 20 16:01:08 2006: P[ 2] I IND :RELEASE oad:400 dad:400
Thu Apr 20 16:01:08 2006: P[ 2] I SEND:RELEASE_COMPLETE oad:400 dad:400
Thu Apr 20 16:01:08 2006: P[ 2] --> bc_state:BCHAN_ACTIVATED
Thu Apr 20 16:01:08 2006: P[ 2] I IND :CLEAN_UP oad: dad:
Thu Apr 20 16:01:08 2006: P[ 2] Trying to Release bc with l3id: 10040
Thu Apr 20 16:01:09 2006: P[ 2] * RELEASING CHANNEL pid:0 ctx:macro-exten-vm dad:s-BUSY oad:400 state: DIALING

Es sind zwei ISDN telefone per NT Port angeschlossen. Eines hat die 400, das andere die 401. In diesem Beispiel habe ich versucht das Telefon 401 anzurufen.

Misdn General-Config:
-> Version: chan_misdn-0.3.1-rc0
-> misdn_init: /etc/misdn-init.conf -> debug: 1
-> tracefile: /var/log/misdn.trace -> bridging: no
-> stop_tone_after_first_digit: yes -> append_digits2exten: yes
-> dynamic_crypt: no -> crypt_prefix: **
-> crypt_keys: test,muh

[PORT 1]
-> name: extern -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> hdlc: no
-> context: from-pstn -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> immediate: no
-> senddtmf: no -> hold_allowed: yes
-> early_bconnect: yes -> incoming_early_audio: no
-> echocancel: 0 -> echocancelwhenbridged: no
-> echotraining: 2000 -> need_more_infos: no
-> jitterbuffer: 4000 -> jitterbuffer_upper_threshold: 0
-> callgroup: 1 -> pickupgroup: 1
-> msns: 974481, 974480 -> ptp: no


[PORT 2]
-> name: intern -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> hdlc: no
-> context: from-internal -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> immediate: no
-> senddtmf: no -> hold_allowed: yes
-> early_bconnect: yes -> incoming_early_audio: no
-> echocancel: 0 -> echocancelwhenbridged: no
-> echotraining: 2000 -> need_more_infos: no
-> jitterbuffer: 4000 -> jitterbuffer_upper_threshold: 0
-> callgroup: 1 -> pickupgroup: 1
-> msns: none -> ptp: no

die Ports werden über misdn/2/400 bzw. 401 angesprochen. Das hat früher zumindestens so funktioniert.

Eine Ausfühliche Debug Datei findet sich hier:

http://www.denny-schierz.de/temp/misdn.txt sie ist 434KB groß.
 
Der Hund liegt bestimmt in deiner extensions.conf begraben, poste die mal bitte.
 
crich schrieb:
Der Hund liegt bestimmt in deiner extensions.conf begraben, poste die mal bitte.

da wäre ich mir ganricht soo sicher ;-) Ich habe nämlich vergessen zu erwähnen, das ich AMP als Interface nutze. Das hinzufügen der Telefone geschieht per Webinterface.

Der Dial String sieht so aus: misdn/2/400
Ich habe aber auch schon misdn/1/400 probiert, für dann Fall, dass die Ports verdreht sein sollten:

-----------------------------------------
Loading module(s) for your misdn-cards:
-----------------------------------------
modprobe hfcpci protocol=0x2,0x12 layermask=0xf,0x3
creating device node: /dev/mISDN


fw01cst*CLI> misdn show config
Misdn General-Config:
-> Version: chan_misdn-0.3.1-rc0
-> misdn_init: /etc/misdn-init.conf -> debug: 1
-> tracefile: /var/log/misdn.trace -> bridging: no
-> stop_tone_after_first_digit: yes -> append_digits2exten: yes
-> dynamic_crypt: no -> crypt_prefix: **
-> crypt_keys: test,muh
fw01cst*CLI>
[PORT 1]
-> name: extern -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> hdlc: no
-> context: from-pstn -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> immediate: no
-> senddtmf: no -> hold_allowed: yes
-> early_bconnect: yes -> incoming_early_audio: no
-> echocancel: 0 -> echocancelwhenbridged: no
-> echotraining: 2000 -> need_more_infos: no
-> jitterbuffer: 4000 -> jitterbuffer_upper_threshold: 0
-> callgroup: 1 -> pickupgroup: 1
-> msns: 974481, 974480 -> ptp: no
fw01cst*CLI>
fw01cst*CLI>
[PORT 2]
-> name: intern -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> hdlc: no
-> context: from-internal -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> immediate: no
-> senddtmf: no -> hold_allowed: yes
-> early_bconnect: yes -> incoming_early_audio: no
-> echocancel: 0 -> echocancelwhenbridged: no
-> echotraining: 2000 -> need_more_infos: no
-> jitterbuffer: 4000 -> jitterbuffer_upper_threshold: 0
-> callgroup: 1 -> pickupgroup: 1
-> msns: none -> ptp: no

...
card=1,hfcpci
card=2,hfcpci
te_ptmp=1
nt_ptmp=2
...

Bei Bedarf, kann ich auch den Debug Mode anschalten.

Aber ich danke schonmal für die Hilfe :)
 
Kannst du mal einen Trace von der asterisk CLI machen ? dabei bitte die verbosity auf 3 setzen, also:


CLI>set verbose 3
CLI>misdn set debug 1
 
hi,

crich schrieb:
Kannst du mal einen Trace von der asterisk CLI machen ? dabei bitte die verbosity auf 3 setzen, also:

CLI>set verbose 3
CLI>misdn set debug 1

ihr Wunsch, sei mir Befehl:

Hörer von ISDN Tel 400 abheben und auflegen:
changing debug level for all ports to 1
P[ 2] I IND :SETUP oad:400 dad:
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] I SEND:SETUP_ACKNOWLEDGE oad:400 dad:
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 2] I IND :DISCONNECT oad:400 dad:
P[ 2] I SEND:RELEASE oad:400 dad:
P[ 2] --> bc_state:BCHAN_RELEASE
P[ 2] I IND :CLEAN_UP oad: dad:
P[ 2] Trying to Release bc with l3id: 10040
P[ 2] * RELEASING CHANNEL pid:0 ctx:from-internal dad: oad:400 state: WAITING4DIGS

Zieht Stecker von ISDN Telefon 401 raus und steckt es wieder rein:
(das Telefon zickt hin und wieder rum)

P[ 2] L1: PH L1Link Up!
P[ 2] I IND :TIMEOUT oad:400 dad:
P[ 2] I SEND:RELEASE_COMPLETE oad:400 dad:
P[ 2] --> bc_state:BCHAN_ACTIVATED
P[ 2] I IND :CLEAN_UP oad: dad:
P[ 2] Trying to Release bc with l3id: 10040
P[ 2] * RELEASING CHANNEL pid:0 ctx:from-internal dad: oad:400 state: WAITING4DIGS
ISDN Telefon 400 ruft das ISDN Telefon 401 an:

P[ 2] I IND :SETUP oad:400 dad:401
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] I SEND:SETUP_ACKNOWLEDGE oad:400 dad:401
P[ 2] --> bc_state:BCHAN_CLEANED
-- Executing Macro("mISDN/2-u2", "exten-vm|novm|401") in new stack
-- Executing Macro("mISDN/2-u2", "user-callerid") in new stack
-- Executing DBget("mISDN/2-u2", "AMPUSER=DEVICE/400/user") in new stack
-- DBget: varname=AMPUSER, family=DEVICE, key=400/user
-- DBget: set variable AMPUSER to 400
-- Executing DBget("mISDN/2-u2", "AMPUSERCIDNAME=AMPUSER/400/cidname") in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=400/cidname
-- DBget: set variable AMPUSERCIDNAME to Denny
-- Executing GotoIf("mISDN/2-u2", "0?5") in new stack
-- Executing SetCallerID("mISDN/2-u2", ""Denny" <400>") in new stack
-- Executing NoOp("mISDN/2-u2", "Using CallerID "Denny" <400>") in new stack
-- Executing SetVar("mISDN/2-u2", "FROMCONTEXT=exten-vm") in new stack
-- Executing Macro("mISDN/2-u2", "record-enable|401|IN") in new stack
-- Executing GotoIf("mISDN/2-u2", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("mISDN/2-u2", "recordingcheck|20060427-162741|1146148061.2") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060427-162741|1146148061.2: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("mISDN/2-u2", "No recording needed") in new stack
-- Executing Macro("mISDN/2-u2", "dial|15|tr|401") in new stack
-- Executing GotoIf("mISDN/2-u2", "0?4:2") in new stack
-- Goto (macro-dial,s,2)
-- Executing GotoIf("mISDN/2-u2", "0?5:4") in new stack
-- Goto (macro-dial,s,4)
-- Executing AGI("mISDN/2-u2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- AGI Script dialparties.agi completed, returning 0
-- Executing NoOp("mISDN/2-u2", "Returned from dialparties with no extensions to call") in new stack
-- Executing SetVar("mISDN/2-u2", "DIALSTATUS=BUSY") in new stack
-- Executing GotoIf("mISDN/2-u2", "0?s-BUSY|1") in new stack
-- Executing GotoIf("mISDN/2-u2", "1?s-BUSY|1") in new stack
-- Goto (macro-exten-vm,s-BUSY,1)
-- Executing NoOp("mISDN/2-u2", "Extension is reporting BUSY and has no Voicemail") in new stack
-- Executing Busy("mISDN/2-u2", "") in new stack
P[ 2] * IND : Indication [5] from s-BUSY
P[ 2] * IND : busy
P[ 2] --> * SEND: State Busy pid:12
P[ 2] I SEND:DISCONNECT oad:400 dad:401
P[ 2] --> bc_state:BCHAN_ACTIVATED
P[ 2] I IND :RELEASE oad:400 dad:401
P[ 2] I SEND:RELEASE_COMPLETE oad:400 dad:401
P[ 2] --> bc_state:BCHAN_ACTIVATED
P[ 2] I IND :CLEAN_UP oad: dad:
P[ 2] Trying to Release bc with l3id: 10040
P[ 2] * RELEASING CHANNEL pid:0 ctx:macro-exten-vm dad:s-BUSY oad:400 state: DIALING
== Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on 'mISDN/2-u2' in macro 'exten-vm'
== Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on 'mISDN/2-u2'

Das Freizeichen klingt auch sonst recht häßlich, als würde die Leitung "unsauber" sein. Man hört ein leichtes knacken bis Unterbrechungen.

und jetzt eben habe ich auch noch was lustiges festgestellt. Wählt man die 400 auf dem 400 Telefon od. 401 Telefon, hört man eine Stimme, die irgendwas erzählt, vermutlich der AB. Aber die log hierzu:

(beim ersten Mal wurde die Leitung unterbrochen, warum auch immer)

P[ 2] I IND :SETUP oad:401 dad:
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] I SEND:SETUP_ACKNOWLEDGE oad:401 dad:
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 2] I IND :INFORMATION oad:401 dad:
-- Executing Macro("mISDN/2-u19", "exten-vm|400|400") in new stack
-- Executing Macro("mISDN/2-u19", "user-callerid") in new stack
-- Executing DBget("mISDN/2-u19", "AMPUSER=DEVICE/401/user") in new stack
-- DBget: varname=AMPUSER, family=DEVICE, key=401/user
-- DBget: set variable AMPUSER to 401
-- Executing DBget("mISDN/2-u19", "AMPUSERCIDNAME=AMPUSER/401/cidname") in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=401/cidname
-- DBget: set variable AMPUSERCIDNAME to Test
-- Executing GotoIf("mISDN/2-u19", "0?5") in new stack
-- Executing SetCallerID("mISDN/2-u19", ""Test" <401>") in new stack
-- Executing NoOp("mISDN/2-u19", "Using CallerID "Test" <401>") in new stack
-- Executing SetVar("mISDN/2-u19", "FROMCONTEXT=exten-vm") in new stack
-- Executing Macro("mISDN/2-u19", "record-enable|400|IN") in new stack
-- Executing GotoIf("mISDN/2-u19", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("mISDN/2-u19", "recordingcheck|20060427-163953|1146148793.24") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060427-163953|1146148793.24: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("mISDN/2-u19", "No recording needed") in new stack
-- Executing Macro("mISDN/2-u19", "dial|15|tr|400") in new stack
-- Executing GotoIf("mISDN/2-u19", "0?4:2") in new stack
-- Goto (macro-dial,s,2)
-- Executing GotoIf("mISDN/2-u19", "0?5:4") in new stack
-- Goto (macro-dial,s,4)
-- Executing AGI("mISDN/2-u19", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- AGI Script dialparties.agi completed, returning 0
-- Executing NoOp("mISDN/2-u19", "Returned from dialparties with no extensions to call") in new stack
-- Executing SetVar("mISDN/2-u19", "DIALSTATUS=BUSY") in new stack
-- Executing GotoIf("mISDN/2-u19", "0?s-BUSY|1") in new stack
-- Executing GotoIf("mISDN/2-u19", "0?s-BUSY|1") in new stack
-- Executing NoOp("mISDN/2-u19", "Sending to Voicemail box 400") in new stack
-- Executing Macro("mISDN/2-u19", "vm|400|BUSY") in new stack
-- Executing Macro("mISDN/2-u19", "user-callerid") in new stack
-- Executing DBget("mISDN/2-u19", "AMPUSER=DEVICE/401/user") in new stack
-- DBget: varname=AMPUSER, family=DEVICE, key=401/user
-- DBget: set variable AMPUSER to 401
-- Executing DBget("mISDN/2-u19", "AMPUSERCIDNAME=AMPUSER/401/cidname") in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=401/cidname
-- DBget: set variable AMPUSERCIDNAME to Test
-- Executing GotoIf("mISDN/2-u19", "0?5") in new stack
-- Executing SetCallerID("mISDN/2-u19", ""Test" <401>") in new stack
-- Executing NoOp("mISDN/2-u19", "Using CallerID "Test" <401>") in new stack
-- Executing Goto("mISDN/2-u19", "s-BUSY|1") in new stack
-- Goto (macro-vm,s-BUSY,1)
-- Executing VoiceMail("mISDN/2-u19", "b400") in new stack
P[ 2] * ANSWER:
P[ 2] I SEND:CONNECT oad:401 dad:400
P[ 2] --> bc_state:BCHAN_ACTIVATED
P[ 2] bchannel_activate: BC Not properly upsetted (state:BCHAN_ACTIVATED) addr:50010202
-- Playing 'vm-theperson' (language 'de')
P[ 2] I IND :DISCONNECT oad:401 dad:400
P[ 2] I SEND:RELEASE oad:401 dad:400
P[ 2] --> bc_state:BCHAN_RELEASE
P[ 2] I IND :CLEAN_UP oad: dad:
P[ 2] Trying to Release bc with l3id: e0041
P[ 2] * RELEASING CHANNEL pid:0 ctx:macro-vm dad:s-BUSY oad:401 state: CONNECTED
== Spawn extension (macro-vm, s-BUSY, 1) exited non-zero on 'mISDN/2-u19' in macro 'vm'
== Spawn extension (macro-vm, s-BUSY, 1) exited non-zero on 'mISDN/2-u19' in macro 'exten-vm'
== Spawn extension (macro-vm, s-BUSY, 1) exited non-zero on 'mISDN/2-u19'
P[ 2] I IND :SETUP oad:401 dad:
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] I SEND:SETUP_ACKNOWLEDGE oad:401 dad:
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 2] I IND :DISCONNECT oad:401 dad:
P[ 2] I SEND:RELEASE oad:401 dad:
P[ 2] --> bc_state:BCHAN_RELEASE
P[ 2] I IND :CLEAN_UP oad: dad:
P[ 2] Trying to Release bc with l3id: f0041
P[ 2] * RELEASING CHANNEL pid:0 ctx:from-internal dad: oad:401 state: WAITING4DIGS
P[ 2] I IND :SETUP oad:401 dad:
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] I SEND:SETUP_ACKNOWLEDGE oad:401 dad:
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 2] I IND :DISCONNECT oad:401 dad:
P[ 2] I SEND:RELEASE oad:401 dad:
P[ 2] --> bc_state:BCHAN_RELEASE
P[ 2] I IND :SETUP oad:401 dad:
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] I SEND:SETUP_ACKNOWLEDGE oad:401 dad:
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 2] I IND :CLEAN_UP oad: dad:
P[ 2] Trying to Release bc with l3id: 100041
P[ 2] * RELEASING CHANNEL pid:0 ctx:from-internal dad: oad:401 state: WAITING4DIGS
P[ 2] I IND :INFORMATION oad:401 dad:
P[ 2] I IND :INFORMATION oad:401 dad:4
P[ 2] I IND :INFORMATION oad:401 dad:40
-- Executing Macro("mISDN/2-u22", "exten-vm|400|400") in new stack
-- Executing Macro("mISDN/2-u22", "user-callerid") in new stack
-- Executing DBget("mISDN/2-u22", "AMPUSER=DEVICE/401/user") in new stack
-- DBget: varname=AMPUSER, family=DEVICE, key=401/user
-- DBget: set variable AMPUSER to 401
-- Executing DBget("mISDN/2-u22", "AMPUSERCIDNAME=AMPUSER/401/cidname") in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=401/cidname
-- DBget: set variable AMPUSERCIDNAME to Test
-- Executing GotoIf("mISDN/2-u22", "0?5") in new stack
-- Executing SetCallerID("mISDN/2-u22", ""Test" <401>") in new stack
-- Executing NoOp("mISDN/2-u22", "Using CallerID "Test" <401>") in new stack
-- Executing SetVar("mISDN/2-u22", "FROMCONTEXT=exten-vm") in new stack
-- Executing Macro("mISDN/2-u22", "record-enable|400|IN") in new stack
-- Executing GotoIf("mISDN/2-u22", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("mISDN/2-u22", "recordingcheck|20060427-164005|1146148804.27") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060427-164005|1146148804.27: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("mISDN/2-u22", "No recording needed") in new stack
-- Executing Macro("mISDN/2-u22", "dial|15|tr|400") in new stack
-- Executing GotoIf("mISDN/2-u22", "0?4:2") in new stack
-- Goto (macro-dial,s,2)
-- Executing GotoIf("mISDN/2-u22", "0?5:4") in new stack
-- Goto (macro-dial,s,4)
-- Executing AGI("mISDN/2-u22", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- AGI Script dialparties.agi completed, returning 0
-- Executing NoOp("mISDN/2-u22", "Returned from dialparties with no extensions to call") in new stack
-- Executing SetVar("mISDN/2-u22", "DIALSTATUS=BUSY") in new stack
-- Executing GotoIf("mISDN/2-u22", "0?s-BUSY|1") in new stack
-- Executing GotoIf("mISDN/2-u22", "0?s-BUSY|1") in new stack
-- Executing NoOp("mISDN/2-u22", "Sending to Voicemail box 400") in new stack
-- Executing Macro("mISDN/2-u22", "vm|400|BUSY") in new stack
-- Executing Macro("mISDN/2-u22", "user-callerid") in new stack
-- Executing DBget("mISDN/2-u22", "AMPUSER=DEVICE/401/user") in new stack
-- DBget: varname=AMPUSER, family=DEVICE, key=401/user
-- DBget: set variable AMPUSER to 401
-- Executing DBget("mISDN/2-u22", "AMPUSERCIDNAME=AMPUSER/401/cidname") in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=401/cidname
-- DBget: set variable AMPUSERCIDNAME to Test
-- Executing GotoIf("mISDN/2-u22", "0?5") in new stack
-- Executing SetCallerID("mISDN/2-u22", ""Test" <401>") in new stack
-- Executing NoOp("mISDN/2-u22", "Using CallerID "Test" <401>") in new stack
-- Executing Goto("mISDN/2-u22", "s-BUSY|1") in new stack
-- Goto (macro-vm,s-BUSY,1)
-- Executing VoiceMail("mISDN/2-u22", "b400") in new stack
P[ 2] * ANSWER:
P[ 2] I SEND:CONNECT oad:401 dad:400
P[ 2] --> bc_state:BCHAN_ACTIVATED
P[ 2] bchannel_activate: BC Not properly upsetted (state:BCHAN_ACTIVATED) addr:50020202
-- Playing 'vm-theperson' (language 'de')
-- Playing 'digits/4' (language 'de')
-- Playing 'digits/0' (language 'de')
-- Playing 'digits/0' (language 'de')
-- Playing 'vm-isonphone' (language 'de')
-- Playing 'vm-intro' (language 'de')
-- Playing 'beep' (language 'de')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/default/400/INBOX/msg0002 format: wav49, 0x81a5fd8
-- x=1, open writing: /var/spool/asterisk/voicemail/default/400/INBOX/msg0002 format: wav, 0x815ee58
P[ 2] * IND : Indication [18] from s-BUSY
P[ 2] I IND :DTMF_TONE oad:401 dad:400
-- User ended message by pressing #
-- Playing 'auth-thankyou' (language 'de')
-- Playing 'vm-review' (language 'de')
P[ 2] I IND :DTMF_TONE oad:401 dad:400
-- Saving message as is
-- Playing 'vm-msgsaved' (language 'de')
-- Executing Hangup("mISDN/2-u22", "") in new stack
== Spawn extension (macro-vm, s-BUSY, 2) exited non-zero on 'mISDN/2-u22' in macro 'vm'
== Spawn extension (macro-vm, s-BUSY, 2) exited non-zero on 'mISDN/2-u22' in macro 'exten-vm'
== Spawn extension (macro-vm, s-BUSY, 2) exited non-zero on 'mISDN/2-u22'
P[ 2] * IND : HANGUP pid:32 ctx:macro-vm dad:s-BUSY oad:401 State:CONNECTED
P[ 2] --> cause:16
P[ 2] --> out_cause:16
P[ 2] bchannel_activate: BC Not properly upsetted (state:BCHAN_RELEASE) addr:50020202
P[ 2] I SEND:DISCONNECT oad:401 dad:400
P[ 2] --> bc_state:BCHAN_RELEASE
P[ 2] Channel: mISDN/2-u22 hanguped
P[ 2] I IND :RELEASE oad:401 dad:400
P[ 2] I SEND:RELEASE_COMPLETE oad:401 dad:400
P[ 2] --> bc_state:BCHAN_RELEASE
P[ 2] I IND :CLEAN_UP oad: dad:
P[ 2] Trying to Release bc with l3id: 110041


cu denny
 
Deine AMP Konfig scheint nicht ganz korrekt zu sein. In deinem ersten Trace sehe ich z.b.:

Executing NoOp("mISDN/2-u2", "Returned from dialparties with no extensions to call") in new stack

chan_misdn verhält sich hier sehr ordentlich, AMP scheint die Extension 401 nicht zu finden ..

probiers mal ohne AMP direkt mit extensions.conf.
 
crich schrieb:
Deine AMP Konfig scheint nicht ganz korrekt zu sein.
probiers mal ohne AMP direkt mit extensions.conf.

Seltsam, du hast recht. Ich habe AMP und Asterisk nochmal komplett neu aufgesetzt, jetzt klappt es. Vielen Dank. Ich werde die nächsten Tage mal testen, wie stabil es ist.
 
Du verwendest mISDN in einer domU und es funktioniert?
Das freut mich zu hören, denn ich spiel mich seit Tagen damit herum (vorwiegend zwar mit zaphfc) und bring es einfach nicht hin!

Ich habe eine FritzCard! und eine HFC Karte drin. Die Fritz! Card spreche ich mit fcpci von AVM an und hat sofort funktioniert.

Mit mISDN+hfcpci+chan_misdn (statt zaphfc und chan_zap mit BRIstuff) hats auch auf dem normalen Rechner sofort funktioniert.

Mit der gleichen Konfiguration mit dem gleichen System in der domU bekomme ich aber nicht einmal einen Wählton. Die Anzahl der Interrupts steigt nur sehr langsam (im Gegensatz zu hfcpci wo gar keine Interrupts generiert werden).

Kannst du mir sagen was du getan hast damit du ein Wählton bekommst und wie du das Problem gelöst hast?

Sehr freuen würd ich mich auch über sämtliche config-Dateien (misdn.conf, mISDN.conf etc).

Vielen Dank,

ein Xen-verzweifelter divB
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,868
Beiträge
2,219,771
Mitglieder
371,585
Neuestes Mitglied
PauSchmitz
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.