Ich hab folgendes Problem. Ich möchte von meinem SIP Anbieter die Telefonate empfangen und diese auf ein internes ISDN Telefon schalten.
Ebenso möchte ich später je nach Auswahl einer Ziffer (z.B. 8 od. 9) entweder per SIP oder ISDN telefonieren.
Installiert habe ich Suse 9.3 -
Bristuff 0.2.0 RC8n
Chan_Capi 0.5.4
gemäß der im Forum verfügbaren Anleitung für Ver. Suse 9.2.
HFC hängt per Crossover am NTBA. ISDN Telefon wurde am NTBA angeschlossen.
Sip Kontakt zum Provider steht.
Leider geht weder in noch out. Hat das jemand in der Konstellation am laufen?
Ich wäre dankbar für jede Hilfe da ich im Forum nichts vergleichbares zu dem Fehler finden konnte.
Anbei die Confdateien:
Extensions:
[general]
static=yes
writeprotect=no
[globals]
IAXINFO=guest
[default]
include => incoming-calls
include => outgoing-calls
[incoming-calls]
exten => _X.,1,Dial(Zap/g1/298423,60)
exten => _X.,2,Hangup
[outgoing-calls]
; 8 vorwaehlen -> über ISDN wählen
exten => _8.,1,Dial(Zap/g2/${EXTEN:1}/,60)
exten => _8.,2,Congestion
exten => _8.,3,Busy
exten => _8.,4,Hangup
; 9 vorwaehlen -> Ueber SIP waehlen
exten => _9.,1,Dial(SIP/${EXTEN:1}@sipgate,60)
exten => _9.,2,Congestion
exten => _9.,3,Busy
exten => _9.,4,Hangup
Capi_Config
;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=1.5
txgain=1.5
[interfaces]
msn=298423
incomingmsn=*
controller=1
softdtmf=1
context=outgoing_calls
echosquelch=1
echocancel=yes
echotail=64
group=2
devices=1
SIP:
[general]
port = 5060
bindaddr = 0.0.0.0
externip =
Localnet = 192.168.10.0/255.255.255.0
srvlookup = yes
context = incoming-calls
disallow=all
allow=alaw
allow=gsm
register => SIPID[email protected]/298423
canreinvite=no
tos=0x18
insecure=very
nat=yes
dtmfmode=info
[sipgate]
type=friend
username=SIPID
secret=PWD
host=sipgate.de
fromuser=SIPID
fromdomain=sipgate.de
context=incoming-calls
canreinvite=no
qualify=yes
disallow=all
allow=alaw
allow=gsm
insecure=very
nat=yes
dtmfmode=info
tos=0x18
#
# SPAN Definitionen
#
loadzone=nl
defaultzone=nl
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
Vielleicht hilft das noch:
Zaptel Configuration
======================
SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
3 channels configured.
pan 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [NT] layer 1 ACTIVATED (G3)" AMI/CCS
1 ZTHFC1/0/1 Clear
2 ZTHFC1/0/2 Clear
3 ZTHFC1/0/3 HDLCFCS
Fehlermeldung: bei ankommen SIP:
-- Executing Dial("SIP/8390300-e170", "Zap/g1/298423|60") in new stack
-- Requested transfer capability: 0x00 - SPEECH
== Secondary EC-enable in line 7778
-- Called g1/298423
== Secondary EC-enable in line 7778
== Secondary EC-enable in line 7778
== Secondary EC-enable in line 7778
-- Channel 0/1, span 1 got hangup
-- Zap/1-1 is circuit-busy
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/8390300-e170", "") in new stack
== Spawn extension (incoming-calls, 298423, 2) exited non-zero on 'SIP/8390300-e170'
-- Executing Dial("SIP/8390300-5c20", "Zap/g1/298423|60") in new stack
-- Requested transfer capability: 0x00 - SPEECH
== Secondary EC-enable in line 7778
-- Called g1/298423
== Secondary EC-enable in line 7778
== Secondary EC-enable in line 7778
-- Channel 0/1, span 1 got hangup
-- Zap/1-1 is circuit-busy
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/8390300-5c20", "") in new stack
== Spawn extension (incoming-calls, 298423, 2) exited non-zero on 'SIP/8390300-5c20'
Intense - Debug:
*CLI> bri intense debug span 1
Enabled EXTENSIVE debugging on span 1
*CLI> help -- Executing Dial("SIP/8390300-0462", "Zap/g1/298423|60") in new stack
-- Requested transfer capability: 0x00 - SPEECH
> [ 02 ff 03 08 01 02 05 04 03 80 90 a3 18 01 89 28 0b 30 31 37 33 36 37 30 31 33 36 31 6c 0d 41 81 30 31 37 33 36 37 30 31 33 36 31 70 07 91 32 39 38 34 32 33 a1 ]
> Unnumbered frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 127 EA: 1
> M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 50 bytes of data
> Protocol Discriminator: Q.931 (8) len=50
> Call Ref: len= 1 (reference 2/0x2) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
> Ext: 1 User information layer 1: A-Law (35)
> [18 01 89]
> Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
> ChanSel: B1 channel
]
> [28 0b 30 31 37 33 36 37 30 31 33 36 31]
> Display (len=11) [ 01736701361 ]
> [6c 0d 41 81 30 31 37 33 36 37 30 31 33 36 31]
> Calling Number (len=15) [ Ext: 0 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> Presentation: Presentation permitted, user number passed network screening (1) '01736701361' ]
> [70 07 91 32 39 38 34 32 33]
> Called Number (len= 9) [ Ext: 1 TON: International Number (1) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '298423' ]
> [a1]
> Sending Complete (len= 1)
== Secondary EC-enable in line 7778
-- Called g1/298423
== Secondary EC-enable in line 7778
== Secondary EC-enable in line 7778
-- Channel 0/1, span 1 got hangup
-- Zap/1-1 is circuit-busy
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/8390300-0462", "") in new stack
== Spawn extension (incoming-calls, 298423, 2) exited non-zero on 'SIP/8390300-0462'
Fehler und Busy Zeichen sobald ich versuche vom ISDN Telefon zu wählen:
chan_zap.c:7825 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
Ebenso möchte ich später je nach Auswahl einer Ziffer (z.B. 8 od. 9) entweder per SIP oder ISDN telefonieren.
Installiert habe ich Suse 9.3 -
Bristuff 0.2.0 RC8n
Chan_Capi 0.5.4
gemäß der im Forum verfügbaren Anleitung für Ver. Suse 9.2.
HFC hängt per Crossover am NTBA. ISDN Telefon wurde am NTBA angeschlossen.
Sip Kontakt zum Provider steht.
Leider geht weder in noch out. Hat das jemand in der Konstellation am laufen?
Ich wäre dankbar für jede Hilfe da ich im Forum nichts vergleichbares zu dem Fehler finden konnte.
Anbei die Confdateien:
Extensions:
[general]
static=yes
writeprotect=no
[globals]
IAXINFO=guest
[default]
include => incoming-calls
include => outgoing-calls
[incoming-calls]
exten => _X.,1,Dial(Zap/g1/298423,60)
exten => _X.,2,Hangup
[outgoing-calls]
; 8 vorwaehlen -> über ISDN wählen
exten => _8.,1,Dial(Zap/g2/${EXTEN:1}/,60)
exten => _8.,2,Congestion
exten => _8.,3,Busy
exten => _8.,4,Hangup
; 9 vorwaehlen -> Ueber SIP waehlen
exten => _9.,1,Dial(SIP/${EXTEN:1}@sipgate,60)
exten => _9.,2,Congestion
exten => _9.,3,Busy
exten => _9.,4,Hangup
Capi_Config
;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=1.5
txgain=1.5
[interfaces]
msn=298423
incomingmsn=*
controller=1
softdtmf=1
context=outgoing_calls
echosquelch=1
echocancel=yes
echotail=64
group=2
devices=1
SIP:
[general]
port = 5060
bindaddr = 0.0.0.0
externip =
Localnet = 192.168.10.0/255.255.255.0
srvlookup = yes
context = incoming-calls
disallow=all
allow=alaw
allow=gsm
register => SIPID[email protected]/298423
canreinvite=no
tos=0x18
insecure=very
nat=yes
dtmfmode=info
[sipgate]
type=friend
username=SIPID
secret=PWD
host=sipgate.de
fromuser=SIPID
fromdomain=sipgate.de
context=incoming-calls
canreinvite=no
qualify=yes
disallow=all
allow=alaw
allow=gsm
insecure=very
nat=yes
dtmfmode=info
tos=0x18
#
# SPAN Definitionen
#
loadzone=nl
defaultzone=nl
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
Vielleicht hilft das noch:
Zaptel Configuration
======================
SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
3 channels configured.
pan 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [NT] layer 1 ACTIVATED (G3)" AMI/CCS
1 ZTHFC1/0/1 Clear
2 ZTHFC1/0/2 Clear
3 ZTHFC1/0/3 HDLCFCS
Fehlermeldung: bei ankommen SIP:
-- Executing Dial("SIP/8390300-e170", "Zap/g1/298423|60") in new stack
-- Requested transfer capability: 0x00 - SPEECH
== Secondary EC-enable in line 7778
-- Called g1/298423
== Secondary EC-enable in line 7778
== Secondary EC-enable in line 7778
== Secondary EC-enable in line 7778
-- Channel 0/1, span 1 got hangup
-- Zap/1-1 is circuit-busy
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/8390300-e170", "") in new stack
== Spawn extension (incoming-calls, 298423, 2) exited non-zero on 'SIP/8390300-e170'
-- Executing Dial("SIP/8390300-5c20", "Zap/g1/298423|60") in new stack
-- Requested transfer capability: 0x00 - SPEECH
== Secondary EC-enable in line 7778
-- Called g1/298423
== Secondary EC-enable in line 7778
== Secondary EC-enable in line 7778
-- Channel 0/1, span 1 got hangup
-- Zap/1-1 is circuit-busy
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/8390300-5c20", "") in new stack
== Spawn extension (incoming-calls, 298423, 2) exited non-zero on 'SIP/8390300-5c20'
Intense - Debug:
*CLI> bri intense debug span 1
Enabled EXTENSIVE debugging on span 1
*CLI> help -- Executing Dial("SIP/8390300-0462", "Zap/g1/298423|60") in new stack
-- Requested transfer capability: 0x00 - SPEECH
> [ 02 ff 03 08 01 02 05 04 03 80 90 a3 18 01 89 28 0b 30 31 37 33 36 37 30 31 33 36 31 6c 0d 41 81 30 31 37 33 36 37 30 31 33 36 31 70 07 91 32 39 38 34 32 33 a1 ]
> Unnumbered frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 127 EA: 1
> M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 50 bytes of data
> Protocol Discriminator: Q.931 (8) len=50
> Call Ref: len= 1 (reference 2/0x2) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
> Ext: 1 User information layer 1: A-Law (35)
> [18 01 89]
> Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
> ChanSel: B1 channel
]
> [28 0b 30 31 37 33 36 37 30 31 33 36 31]
> Display (len=11) [ 01736701361 ]
> [6c 0d 41 81 30 31 37 33 36 37 30 31 33 36 31]
> Calling Number (len=15) [ Ext: 0 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> Presentation: Presentation permitted, user number passed network screening (1) '01736701361' ]
> [70 07 91 32 39 38 34 32 33]
> Called Number (len= 9) [ Ext: 1 TON: International Number (1) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '298423' ]
> [a1]
> Sending Complete (len= 1)
== Secondary EC-enable in line 7778
-- Called g1/298423
== Secondary EC-enable in line 7778
== Secondary EC-enable in line 7778
-- Channel 0/1, span 1 got hangup
-- Zap/1-1 is circuit-busy
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/8390300-0462", "") in new stack
== Spawn extension (incoming-calls, 298423, 2) exited non-zero on 'SIP/8390300-0462'
Fehler und Busy Zeichen sobald ich versuche vom ISDN Telefon zu wählen:
chan_zap.c:7825 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1