Hallo,
ich probier schon seit Tagen asterisk zum Laufen zu bekommen. Die Konfiguration ist zunächst ganz einfach:
ISDN-Telefon->NTBA1->Kreuzkabel->ISDN Karte (port2) im NT Modus->Asterisk->ISDN-Karte (port1) im TE Modus->NTBA2->externer ISDN Anschluß (von Hansenet).
Beides sind HFC Karten
Ich hatte es zunächst mit bristuff schon so weit dass der interne Anschluß im NT Modus funktionierte, aber der externe nicht, deshalb wollte ich es jetzt mit misdn probieren.
Nun funktioniert aber gar nichts mehr.
Als Fehlermeldung bekomme ich:
*CLI> misdn show stacks
BEGIN STACK_LIST:
* Stack Addr:40000104 Port 1 Type TE Prot. PMP L2Link DOWN L1LinkOWN Debug:4
* Stack Addr:40000201 Port 2 Type NT Prot. PMP L2Link DOWN L1Link:UP Debug:4
Wenn ich versuche von extern anzurufen, kommt die automatische Ansage des Telefon Providers.
Wenn ich von intern (von einem sip -softphone) versuche nach draussen zu telefonieren, kommt:
-- Executing Dial("SIP/1234-6ab3", "mISDN/1/23818878|60") in new stack
P[ 0] --> * NEW CHANNEL dad:23818878 oadnull)
P[ 1] * Queuing chan 0x8192dc0
P[ 1] read_config: Getting Config
P[ 1] config_jb: Called
P[ 1] --> * CallGrp: PickupGrp:
P[ 1] --> TON: Unknown
P[ 1] --> LTON: Unknown
P[ 1] --> CTON: Unknown
P[ 1] * CALL: 1/23818878
P[ 1] --> * dad:23818878 tech:mISDN/1-u0 ctx:incoming
P[ 1] --> * adding2newbc ext 23818878
P[ 1] --> * adding2newbc callerid 1234
P[ 1] update_config: Getting Config
P[ 1] --> pres: -1 screen: -1
P[ 1] --> pres: 0
P[ 1] --> PRES: Allowed (0x0)
P[ 1] --> SCREEN: Unscreened (0x0)
P[ 1] NO OPTS GIVEN
P[ 1] I SEND:SETUP oad:1234 dad:23818878
P[ 1] --> bc_state:BCHAN_CLEANED
P[ 1] --> mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:0 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:0 addr:0 l3id:0
P[ 1] --> b_stid:0 layer_id:0
P[ 1] --> bc:813660c h:0 sh:0
P[ 1] --> new_l3id 30001
P[ 1] --> * SEND: State Dialing pid:0
-- Called 1/23818878
P[ 1] MGMT: Short status dinfo 1000000
P[ 1] MGMT: SSTATUS: L1_DEACTIVATED
P[ 1] handle_frm: frm->addr:42000103 frm->prim:3f182
P[ 1] --> lib: RELEASE_CR Ind with l3id:30001
P[ 1] --> lib: CLEANING UP l3id: 30001
P[ 1] --> empty chan 255
P[ 1] BC_STATE_CHANGE: from:BCHAN_CLEANED to:BCHAN_EMPTY
P[ 1] BC_NEXT_STATE_CHANGE: from:BCHAN_EMPTY to:BCHAN_EMPTY
P[ 0] $$$ CLEANUP CALLED
P[ 1] $$$ CLEARING STACK
P[ 1] BC_STATE_CHANGE: from:BCHAN_EMPTY to:BCHAN_CLEANED
P[ 1] I IND :CLEAN_UP oad: dad:
P[ 1] --> mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:0 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:0 addr:0 l3id:30001
P[ 1] --> b_stid:0 layer_id:0
P[ 1] --> bc:813660c h:0 sh:0
P[ 1] --> bc_state:BCHAN_CLEANED
P[ 1] bchan_deactivate: called but not activated
P[ 1] Trying to Release bc with l3id: 30001
P[ 1] * RELEASING CHANNEL pid:0 ctx:incoming dad:23818878 oad:23818878 state: CALLING
P[ 1] --> * State Down
P[ 1] --> Setting AST State to down
P[ 1] * --> In State Callin
P[ 1] * --> Queue Hangup
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/1234-6ab3", "") in new stack
-- Executing Dial("SIP/1234-6ab3", "SIP/1234|60") in new stack
-- Called 1234
== Everyone is busy/congested at this time (1:0/0/1)
P[ 0] MGMT: DELLAYER|CONFIRM Addr: 1000000 !
Apr 17 19:05:45 WARNING[14626]: channel.c:787 channel_find_locked: Avoided initial deadlock for '0x81a5590', 10 retries!
Ich hab jetzt keine Idee mehr, wo ich noch ansetzen kann , um das hinzubekommen. Die Kabel und Hardware sind alle ok und gecheckt.
Hier sind noch die Konfig Dateien:
misdn-init.conf:
card=1,hfcpci,pcm_slave
card=2,hfcpci
nt_ptmp=2
te_ptmp=1
#
option=1,master_clock
#option=2,ais,nocrc4
#option=3,optical,los,ais,slip
poll=128
#pcm=1,1
dsp_options=0
debug=5
misdn.conf
[general]
debug=4
tracefile=/var/log/misdn.trace
bridging=yes
stop_tone_after_first_digit=yes
append_digits2exten=yes
; set this to yes if you have jollys mISDN which sends correct L1 Infos
;
; default value: yes
;
;l1_info_ok=no
; set this to yes if you want to clear the l3 in case the l2 deactivates
; some environments have a flickering l2 which causes this option to
; damage active calls .. highly experimental
;
; default value: no
;
;clear_l3=no
; set the method to use for channel selection:
; standard - always choose the first free channel with the lowest number
; round_robin - use the round robin algorithm to select a channel. use this
; if you want to balance your load.
;
; default value: standard
;
;method=standard
[default]
context=incoming
language=de
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0
; some telcos espacially in NL seem to need this set to yes, also in
; switzerland this seems to be important
;
; default value: no
;
;te_choose_channel=yes
dialplan=0
; This is only for asterisk head and will result in only considering
; misdn.confs and misdn_set_opts callingpresentation informations if set to no.
; Otherwise asterisks callingpresentation overwrites misdn.confs settings.
;
; default value: yes
;
;use_callingpres=yes
immediate=no
echotraining=yes
[extern]
ports=1
context=incoming
msns=*
[intern]
ports=2
context=outgoing
msns=*
Ich hoffe, jemand kann mir helfen.
Gruß
Markus
ich probier schon seit Tagen asterisk zum Laufen zu bekommen. Die Konfiguration ist zunächst ganz einfach:
ISDN-Telefon->NTBA1->Kreuzkabel->ISDN Karte (port2) im NT Modus->Asterisk->ISDN-Karte (port1) im TE Modus->NTBA2->externer ISDN Anschluß (von Hansenet).
Beides sind HFC Karten
Ich hatte es zunächst mit bristuff schon so weit dass der interne Anschluß im NT Modus funktionierte, aber der externe nicht, deshalb wollte ich es jetzt mit misdn probieren.
Nun funktioniert aber gar nichts mehr.
Als Fehlermeldung bekomme ich:
*CLI> misdn show stacks
BEGIN STACK_LIST:
* Stack Addr:40000104 Port 1 Type TE Prot. PMP L2Link DOWN L1LinkOWN Debug:4
* Stack Addr:40000201 Port 2 Type NT Prot. PMP L2Link DOWN L1Link:UP Debug:4
Wenn ich versuche von extern anzurufen, kommt die automatische Ansage des Telefon Providers.
Wenn ich von intern (von einem sip -softphone) versuche nach draussen zu telefonieren, kommt:
-- Executing Dial("SIP/1234-6ab3", "mISDN/1/23818878|60") in new stack
P[ 0] --> * NEW CHANNEL dad:23818878 oadnull)
P[ 1] * Queuing chan 0x8192dc0
P[ 1] read_config: Getting Config
P[ 1] config_jb: Called
P[ 1] --> * CallGrp: PickupGrp:
P[ 1] --> TON: Unknown
P[ 1] --> LTON: Unknown
P[ 1] --> CTON: Unknown
P[ 1] * CALL: 1/23818878
P[ 1] --> * dad:23818878 tech:mISDN/1-u0 ctx:incoming
P[ 1] --> * adding2newbc ext 23818878
P[ 1] --> * adding2newbc callerid 1234
P[ 1] update_config: Getting Config
P[ 1] --> pres: -1 screen: -1
P[ 1] --> pres: 0
P[ 1] --> PRES: Allowed (0x0)
P[ 1] --> SCREEN: Unscreened (0x0)
P[ 1] NO OPTS GIVEN
P[ 1] I SEND:SETUP oad:1234 dad:23818878
P[ 1] --> bc_state:BCHAN_CLEANED
P[ 1] --> mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:0 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:0 addr:0 l3id:0
P[ 1] --> b_stid:0 layer_id:0
P[ 1] --> bc:813660c h:0 sh:0
P[ 1] --> new_l3id 30001
P[ 1] --> * SEND: State Dialing pid:0
-- Called 1/23818878
P[ 1] MGMT: Short status dinfo 1000000
P[ 1] MGMT: SSTATUS: L1_DEACTIVATED
P[ 1] handle_frm: frm->addr:42000103 frm->prim:3f182
P[ 1] --> lib: RELEASE_CR Ind with l3id:30001
P[ 1] --> lib: CLEANING UP l3id: 30001
P[ 1] --> empty chan 255
P[ 1] BC_STATE_CHANGE: from:BCHAN_CLEANED to:BCHAN_EMPTY
P[ 1] BC_NEXT_STATE_CHANGE: from:BCHAN_EMPTY to:BCHAN_EMPTY
P[ 0] $$$ CLEANUP CALLED
P[ 1] $$$ CLEARING STACK
P[ 1] BC_STATE_CHANGE: from:BCHAN_EMPTY to:BCHAN_CLEANED
P[ 1] I IND :CLEAN_UP oad: dad:
P[ 1] --> mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:0 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:0 addr:0 l3id:30001
P[ 1] --> b_stid:0 layer_id:0
P[ 1] --> bc:813660c h:0 sh:0
P[ 1] --> bc_state:BCHAN_CLEANED
P[ 1] bchan_deactivate: called but not activated
P[ 1] Trying to Release bc with l3id: 30001
P[ 1] * RELEASING CHANNEL pid:0 ctx:incoming dad:23818878 oad:23818878 state: CALLING
P[ 1] --> * State Down
P[ 1] --> Setting AST State to down
P[ 1] * --> In State Callin
P[ 1] * --> Queue Hangup
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/1234-6ab3", "") in new stack
-- Executing Dial("SIP/1234-6ab3", "SIP/1234|60") in new stack
-- Called 1234
== Everyone is busy/congested at this time (1:0/0/1)
P[ 0] MGMT: DELLAYER|CONFIRM Addr: 1000000 !
Apr 17 19:05:45 WARNING[14626]: channel.c:787 channel_find_locked: Avoided initial deadlock for '0x81a5590', 10 retries!
Ich hab jetzt keine Idee mehr, wo ich noch ansetzen kann , um das hinzubekommen. Die Kabel und Hardware sind alle ok und gecheckt.
Hier sind noch die Konfig Dateien:
misdn-init.conf:
card=1,hfcpci,pcm_slave
card=2,hfcpci
nt_ptmp=2
te_ptmp=1
#
option=1,master_clock
#option=2,ais,nocrc4
#option=3,optical,los,ais,slip
poll=128
#pcm=1,1
dsp_options=0
debug=5
misdn.conf
[general]
debug=4
tracefile=/var/log/misdn.trace
bridging=yes
stop_tone_after_first_digit=yes
append_digits2exten=yes
; set this to yes if you have jollys mISDN which sends correct L1 Infos
;
; default value: yes
;
;l1_info_ok=no
; set this to yes if you want to clear the l3 in case the l2 deactivates
; some environments have a flickering l2 which causes this option to
; damage active calls .. highly experimental
;
; default value: no
;
;clear_l3=no
; set the method to use for channel selection:
; standard - always choose the first free channel with the lowest number
; round_robin - use the round robin algorithm to select a channel. use this
; if you want to balance your load.
;
; default value: standard
;
;method=standard
[default]
context=incoming
language=de
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0
; some telcos espacially in NL seem to need this set to yes, also in
; switzerland this seems to be important
;
; default value: no
;
;te_choose_channel=yes
dialplan=0
; This is only for asterisk head and will result in only considering
; misdn.confs and misdn_set_opts callingpresentation informations if set to no.
; Otherwise asterisks callingpresentation overwrites misdn.confs settings.
;
; default value: yes
;
;use_callingpres=yes
immediate=no
echotraining=yes
[extern]
ports=1
context=incoming
msns=*
[intern]
ports=2
context=outgoing
msns=*
Ich hoffe, jemand kann mir helfen.
Gruß
Markus