Verbindung immer busy

Fell

Neuer User
Mitglied seit
19 Aug 2005
Beiträge
21
Punkte für Reaktionen
0
Punkte
0
Hallo!

Ich hab das Problem das mein Asterisk immer "Everyone is busy/congested at this time" meldet, wenn ich per chan_capi_cm (0.5.4) nach extern telefonieren will. Die Leitungen sind beide mit sicherheit frei und capi info meldet zur gleichen zeit:

Contr1: 2 B channels total, 2 B channels free.

Als Hardware habe ich eine AVM FritzCard PCI. OS ist SUSE 9.3.

Auszug aus extensions.conf:

exten => _0.,1,SetCIDNum(MSN)
exten => _0.,2,Dial(CAPI/contr1/${EXTEN})

Meine capi.conf:

[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8

[interfaces]

; mode: ptmp (point-to-multipoint) or ptp (point-to-point)
isdnmode=ptmp
; allow incoming calls to this list of MSNs, * == any
incomingmsn=*
; capi controller number
controller=1
; dialout group
group=0
; enable/disable software dtmf detection, recommended for AVM cards
softdtmf=1
; accountcode to use in CDRs
;accountcode=
; context for incoming calls
context=isdn
; _VERY_PRIMITIVE_ echo suppression
echosquelch=1
; EICON DIVA SERVER echo cancelation
;echocancel=yes
;echotail=64
; call group
;callgroup=1
; deflect incoming calls to 12345678 if all B channels are busy
;deflect=12345678
; number of concurrent calls on this controller (2 makes sense for single BRI)
devices => 2

capi debug meldet:

-- Executing SetCIDNum("SIP/snom1-cf37", "[EIGENE MSN]") in new stack
-- Executing Dial("SIP/snom1-cf37", "CAPI/contr1/[GEWÄHLTE NR]") in new stack
-- data = contr1/[GEWÄHLTE NR]
-- capi request controller = 1
== CAPI Call CAPI/contr1/[GEWÄHLTE NR]-1 (pres=0x00)
-- Called contr1/[GEWÄHLTE NR]
== received CONNECT_CONF PLCI = 0x101 INFO = 0
-- CAPI/contr1/[GEWÄHLTE NR]-1 is busy
> activehangingup
== Everyone is busy/congested at this time

Hat jemand ne Idee wodran es liegen könnte?
 
Um hier mehr zu sehen bitte ein verbose log level 5 mit 'capi debug' erzeugen. Darin kann man den Disconnect code sehen.

Armin
 
Output von capi debug:

-- Executing SetCIDNum("SIP/snom1-6e9e", "[EIGENE MSN]") in new stack
-- Executing Dial("SIP/snom1-6e9e", "CAPI/contr1/[GEWÄHLTE NR]") in new stack
-- data = contr1/[GEWÄHLTE NR]
-- capi request controller = 1
-- creating pipe for PLCI=0
== CAPI Call CAPI/contr1/[GEWÄHLTE NR]-5 (pres=0x00)
CONNECT_REQ ID=002 #0x023f LEN=0076
Controller/PLCI/NCCI = 0x1
CIPValue = 0x10
CalledPartyNumber = <80>[Gewählte NR]
CallingPartyNumber = <00 80 22>[Name]<22> <3c>[Eigene MSN]<3e>
CalledPartySubaddress = default
CallingPartySubaddress = default
BProtocol
B1protocol = 0x1
B2protocol = 0x1
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
GlobalConfiguration = default
BC = default
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = <00 00>
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default

CONNECT_CONF ID=002 #0x023f LEN=0014
Controller/PLCI/NCCI = 0x101
Info = 0x0

== received CONNECT_CONF PLCI = 0x101 INFO = 0
-- Called contr1/[GWÄHLTE NR]
INFO_IND ID=002 #0x1faa LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x8
InfoElement = <82 e4 98>l

INFO_RESP ID=002 #0x1faa LEN=0012
Controller/PLCI/NCCI = 0x101

== info element CAUSE 82 e4
INFO_IND ID=002 #0x1fab LEN=0015
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x8002
InfoElement = default

INFO_RESP ID=002 #0x1fab LEN=0012
Controller/PLCI/NCCI = 0x101

== info element CALL PROCEEDING
INFO_IND ID=002 #0x1fac LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>

INFO_RESP ID=002 #0x1fac LEN=0012
Controller/PLCI/NCCI = 0x101

== info element CHANNEL IDENTIFIKATION 89
INFO_IND ID=002 #0x1fad LEN=0015
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x8045
InfoElement = default

INFO_RESP ID=002 #0x1fad LEN=0012
Controller/PLCI/NCCI = 0x101

== info element DISCONNECT
Disconnect case 1
INFO_IND ID=002 #0x1fae LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1e
InfoElement = <82 88>

INFO_RESP ID=002 #0x1fae LEN=0012
Controller/PLCI/NCCI = 0x101

== info element PI 82 88
In-band information available
INFO_IND ID=002 #0x1faf LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x8
InfoElement = <82 81>

INFO_RESP ID=002 #0x1faf LEN=0012
Controller/PLCI/NCCI = 0x101

== info element CAUSE 82 81
-- CAPI/contr1/[GEWÄHLTE NR]-5 is busy
-- CAPI Hangingup
> activehangingup
DISCONNECT_REQ ID=002 #0x0240 LEN=0018
Controller/PLCI/NCCI = 0x101
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default

== Everyone is busy/congested at this time
DISCONNECT_CONF ID=002 #0x0240 LEN=0014
Controller/PLCI/NCCI = 0x101
Info = 0x0

DISCONNECT_IND ID=002 #0x1fb0 LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x3481

DISCONNECT_RESP ID=002 #0x1fb0 LEN=0012
Controller/PLCI/NCCI = 0x101

-- removed pipe for PLCI = 0x101
 
Der Disconnect code ist eindeutig:
0x3481 "Unallocated (unassigned) number"
Also ist die Nummer, die du waehlst nicht existent oder deine MSN (mit Namen) wird nicht akzeptiert....

Armin
 
Hallo!

Du hattest recht es Hängt mit der gewählten Nummer zusammen. Ich habe jetzt mal versucht mich nicht über eine Festnetznummer zu erreichen, sondern auf meinem Handy(0160...). Das Funktioniert, jedoch habe ich zum Wählen keine Null vorrauswählen müssen. Festnetznummern Erreiche ich weiterhin nicht. Es scheint ein Problem mit dem "durchreichen" zum Amt zu sein. Ne Idee?

Hier noch mal ausführlicher meine extension.conf
[general]
static=yes
writeprotect=no

[globals]
TRUNK=CAPI

[default]
exten => 101,1,Dial(SIP/snom1,10)
exten => 101,2,Dial(SIP/snom2,5)


exten => 102,1,Dial(SIP/snom2)

exten => 103,1,Dial(SIP/snom3)


exten => 104,1,SetLanguage(de)
exten => 104,2,VoiceMail(u101)
;voicemail test

exten => _0.,1,SetCIDNum([Meine MSN ohne Vorwahl])
exten => _0.,2,Dial(CAPI/contr1/${EXTEN})

include => parkedcalls

[isdn]
;incomming
exten => [MEINE MSN],1,Dial(SIP/snom1,5)
exten => [MEINE MSN],2,SetLanguage(de)
exten => [MEINE MSN],3,VoiceMail(u101)
exten => [MEINE MSN],4,Hangup
 
Hallo!

Ich hab nochmal ein bisschen nachgeforscht. Dabei habe ich herrausgefunden, dass die Nummern lt. /var/log/isdn.log immer mit +49 gewählt werden. Hat jemand ne Ahnung, wie man das abstellen kann?

Auszug aus /var/log/isdn.log:

Aug 26 08:08:01 2005|"snom1" <[MEINE MSN]>|+49[GEWÄHLTE NR] | 0| 0|1125036481| -1|O| 31| 0| 0|3.2|1|1|0.062|EUR|0| 33| -1|
 
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.