Hallo,
chan_misdn gibt regelmässig (kann ein Tag/e oder Stunden sein), jedoch nicht vorhersagbar die Meldung DIALSTATUS = CHANUNAVAIL" zurück.
Wenn dieser Zustand erreicht ist, hilft nur noch ein Restart von Asterisk.
Solange Asterisk nicht neu gestartet wird, bleibt der Fehler.
(Die mISDN treiber müssen nicht neu gestartet werden)
misdn show stacks und misdn show channels zeigt nichts Auffälliges.
Umgebung:
Asterisk 1.2.15 mit mISDN 1_1_1 und chan_misdn 0.3.1 rc29
Problem ist "DIALSTATUS = CHANUNAVAIL" obwohl channels frei sind.
Nach einen restart von Asterisk geht es erst wieder: "OUTGOING_CHANNEL=mISDN/1
Hier die Konfiguration von mISDN (P2P / NT Mode)
Ist dieses Problem bekannt?
Ist chan_misdn-0.4.0-rc28.tar.gz im Hinblick auf diesen Effekt möglicherweise "stabiler"?
chan_misdn gibt regelmässig (kann ein Tag/e oder Stunden sein), jedoch nicht vorhersagbar die Meldung DIALSTATUS = CHANUNAVAIL" zurück.
Wenn dieser Zustand erreicht ist, hilft nur noch ein Restart von Asterisk.
Solange Asterisk nicht neu gestartet wird, bleibt der Fehler.
(Die mISDN treiber müssen nicht neu gestartet werden)
misdn show stacks und misdn show channels zeigt nichts Auffälliges.
Umgebung:
Asterisk 1.2.15 mit mISDN 1_1_1 und chan_misdn 0.3.1 rc29
Problem ist "DIALSTATUS = CHANUNAVAIL" obwohl channels frei sind.
Code:
-- Executing NoOp("IAX2/xxx.xxx.xxx.226:59867-3",
-- Executing NoOp("IAX2/xxx.xxx.xxx.xxx:59867-3", "Incoming-_X:trunk_41 CallerID:"" <28> - Calling:1525") in new stack
-- Executing AGI("IAX2/xxx.xxx.xxx.xxx:59867-3", "incoming.php|answered=1525&channel=41&rule=2") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/incoming.php
-- AGI Script Executing Application: (macro) Options: (did|2|DefaultOutgoingRule)
-- Executing Dial("IAX2/xxx.xxx.xxx.xxx:59867-3", "Local/25@DefaultOutgoingRule") in new stack
-- Called 25@DefaultOutgoingRule
-- Executing AGI("Local/25@DefaultOutgoingRule-27ed,2", "dial.php|entity=&group=5&extension=25") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dial.php
-- AGI Script Executing Application: (macro) Options: (dialout|25)
-- Executing Set("Local/25@DefaultOutgoingRule-27ed,2", "TOUCH_MONITOR=20070309-133905_28-25") in new stack
-- Executing ChanIsAvail("Local/25@DefaultOutgoingRule-27ed,2", "mISDN/g:ISDNPBX") in new stack
-- Executing Set("Local/25@DefaultOutgoingRule-27ed,2", "OUTGOING_CHANNEL=mISDN/1") in new stack
-- Executing NoOp("Local/25@DefaultOutgoingRule-27ed,2", "mISDN/1 - Callerid:28") in new stack
-- Executing Dial("Local/25@DefaultOutgoingRule-27ed,2", "mISDN/1/25||gTW") in new stack
-- Called 1/25
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing NoOp("Local/25@DefaultOutgoingRule-27ed,2", "DIALSTATUS = CHANUNAVAIL") in new stack
-- Executing Goto("Local/25@DefaultOutgoingRule-27ed,2", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout,s-CHANUNAVAIL,1)
-- Executing Goto("Local/25@DefaultOutgoingRule-27ed,2", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout,s-CONGESTION,1)
-- Executing PlayTones("Local/25@DefaultOutgoingRule-27ed,2", "congestion") in new stack
-- AGI Script dial.php completed, returning 0
== Auto fallthrough, channel 'Local/25@DefaultOutgoingRule-27ed,2' status is 'CHANUNAVAIL'
-- Local/25@DefaultOutgoingRule-27ed,1 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- AGI Script incoming.php completed, returning 0
== Auto fallthrough, channel 'IAX2/xxx.xxx.xxx.xxx:59867-3' status is 'CONGESTION'
-- Hungup 'IAX2/xxx.xxx.xxx.xxx:59867-3'
Nach einen restart von Asterisk geht es erst wieder: "OUTGOING_CHANNEL=mISDN/1
Code:
Connected to Asterisk 1.2.15 currently running on:
Asterisk Ready.
-- Remote UNIX connection
Verbosity is at least 3
-- Accepting AUTHENTICATED call from xxx.xxx.xxx.xxx:
> requested format = alaw,
> requested prefs = (alaw|ulaw|gsm|ilbc|g729),
> actual format = alaw,
> host prefs = (alaw|ulaw|gsm|ilbc|g729),
> priority = mine
-- Executing NoOp("IAX2/xxx.xxx.xxx.xxx:54269-1", "Incoming-_X:trunk_41 CallerID:"" <28> - Calling:1525") in new stack
-- Executing AGI("IAX2/xxx.xxx.xxx.xxx:54269-1", "incoming.php|answered=1525&channel=41&rule=2") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/incoming.php
-- AGI Script Executing Application: (macro) Options: (did|2|DefaultOutgoingRule)
-- Executing Dial("IAX2/xxx.xxx.xxx.xxx:54269-1", "Local/25@DefaultOutgoingRule") in new stack
-- Called 25@DefaultOutgoingRule
-- Executing AGI("Local/25@DefaultOutgoingRule-13ab,2", "dial.php|entity=&group=5&extension=25") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dial.php
-- AGI Script Executing Application: (macro) Options: (dialout|25)
-- Executing Set("Local/25@DefaultOutgoingRule-13ab,2", "TOUCH_MONITOR=20070309-134106_28-25") in new stack
-- Executing ChanIsAvail("Local/25@DefaultOutgoingRule-13ab,2", "mISDN/g:ISDNPBX") in new stack
-- Executing Set("Local/25@DefaultOutgoingRule-13ab,2", "OUTGOING_CHANNEL=mISDN/1") in new stack
-- Executing NoOp("Local/25@DefaultOutgoingRule-13ab,2", "mISDN/1 - Callerid:28") in new stack
-- Executing Dial("Local/25@DefaultOutgoingRule-13ab,2", "mISDN/1/25||gTW") in new stack
-- Called 1/25
P[ 1] We already have a channel (1)
-- mISDN/1-u1 is proceeding passing it to Local/25@DefaultOutgoingRule-13ab,2
-- Local/25@DefaultOutgoingRule-13ab,1 is proceeding passing it to IAX2/xxx.xxx.xxx.xxx:54269-1
-- mISDN/1-u1 is ringing
-- Local/25@DefaultOutgoingRule-13ab,1 is ringing
== Spawn extension (macro-did, s, 1) exited non-zero on 'IAX2/xxx.xxx.xxx.xxx:54269-1' in macro 'did'
== Spawn extension (macro-did, s, 1) exited non-zero on 'IAX2/xxx.xxx.xxx.xxx:54269-1'
== Spawn extension (macro-dialout, s, 5) exited non-zero on 'Local/25@DefaultOutgoingRule-13ab,2' in macro 'dialout'
-- Hungup 'IAX2/xxx.xxx.xxx.xxx:54269-1'
-- AGI Script dial.php completed, returning 0
Hier die Konfiguration von mISDN (P2P / NT Mode)
Code:
Misdn General-Config:
-> Version: chan_misdn-0.3.1-rc29
-> misdn_init: /etc/misdn-init.conf -> debug: 0
-> tracefile: /var/log/asterisk/misdn.log -> bridging: yes
-> stop_tone_after_first_digit: yes -> append_digits2exten: yes
-> dynamic_crypt: no -> crypt_prefix: **
-> crypt_keys: test,muh -> ntdebugflags: 0
-> ntdebugfile: /var/log/misdn-nt.log
[PORT 1]
-> name: ISDNPBX -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> reject_cause: 16
-> block_on_alarm: no -> hdlc: no
-> context: trunk_39 -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> nodialtone: no
-> immediate: no -> senddtmf: yes
-> hold_allowed: no -> early_bconnect: yes
-> incoming_early_audio: no -> echocancel: 128
-> name: ISDNPBX -> need_more_infos: no
-> nttimeout: no -> jitterbuffer: 4000
-> jitterbuffer_upper_threshold: 0 -> callgroup:
-> pickupgroup: -> msns: *
-> ptp: yes
[PORT 2]
-> name: ISDNPBX -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> reject_cause: 16
-> block_on_alarm: no -> hdlc: no
-> context: trunk_39 -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> nodialtone: no
-> immediate: no -> senddtmf: yes
-> hold_allowed: no -> early_bconnect: yes
-> incoming_early_audio: no -> echocancel: 128
-> name: ISDNPBX -> need_more_infos: no
-> nttimeout: no -> jitterbuffer: 4000
-> jitterbuffer_upper_threshold: 0 -> callgroup:
-> pickupgroup: -> msns: *
-> ptp: yes
[PORT 3]
-> name: ISDNPBX -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> reject_cause: 16
-> block_on_alarm: no -> hdlc: no
-> context: trunk_39 -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> nodialtone: no
-> immediate: no -> senddtmf: yes
-> hold_allowed: no -> early_bconnect: yes
-> incoming_early_audio: no -> echocancel: 128
-> name: ISDNPBX -> need_more_infos: no
-> nttimeout: no -> jitterbuffer: 4000
-> jitterbuffer_upper_threshold: 0 -> callgroup:
-> pickupgroup: -> msns: *
-> ptp: yes
[PORT 4]
-> name: ISDNPBX -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: yes -> reject_cause: 16
-> block_on_alarm: no -> hdlc: no
-> context: trunk_39 -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> nodialtone: no
-> immediate: no -> senddtmf: yes
-> hold_allowed: no -> early_bconnect: yes
-> incoming_early_audio: no -> echocancel: 128
-> name: ISDNPBX -> need_more_infos: no
-> nttimeout: no -> jitterbuffer: 4000
-> jitterbuffer_upper_threshold: 0 -> callgroup:
-> pickupgroup: -> msns: *
-> ptp: yes
Ist dieses Problem bekannt?
Ist chan_misdn-0.4.0-rc28.tar.gz im Hinblick auf diesen Effekt möglicherweise "stabiler"?