VoipBox + Capi keine ankommenden Rufe

speedocom

Neuer User
Mitglied seit
12 Jan 2005
Beiträge
79
Punkte für Reaktionen
0
Punkte
0
Hallo,

spiele gerade mal ein bischen mit der Voipbox rum.
Echt klasse das Projekt..

Klappt eigentlich soweit alles einwandfrei, habe ein IP200 angebunden und
eine Verbindung zum internen S0 unserer Anlage.
Rauswählen über Capi geht auch ohne Probleme.

Wenn ich nun die MSN vom internen S0 anrufen wird dies in der CLI auch
signalisiert:

ISDN1 : incoming call "570" -> "120"

Das war dann aber auch.
In der Extension ist der capi in konfiguriert:

[capi-in]
exten => 120,1,Dial(SIP/110,25,tT)
exten => 120,2,Hangup

Habt Ihr noch eine Idee?
 
Ist das auch der richtige context?
Sende doch bitte mal mehr log (set verbose 5, capi debug).

Armin
 
hallo,

context passt.
log kann ich erst am montag senden...
danke schon mal

gruss
flo
 
Hallo,

so nun das Log:
----------------
voipbox*CLI> set verbose 5
Verbosity was 0 and is now 5
== ISDN1: Incoming call '570' -> '120'
== ISDN1: CAPI Hangingup
voipbox*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=001 #0x0006 LEN=0043
Controller/PLCI/NCCI = 0x101
CIPValue = 0x4
CalledPartyNumber = <80>120
CallingPartyNumber = <09 80>570
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <90 90 a3>
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = <00 00>
Keypadfacility = default
Useruserdata = <04>
Facilitydataarray = default

-- CONNECT_IND (PLCI=0x101,DID=120,CID=570,CIP=0x4,CONTROLLER=0x1)
> ISDN1: msn='*' DNID='120' MSN
== ISDN1: Incoming call '570' -> '120'
INFO_IND ID=001 #0x0007 LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1e
InfoElement = <80 83>

INFO_RESP ID=001 #0x0007 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element PI 80 83
> ISDN1: Origination is non ISDN
INFO_IND ID=001 #0x0008 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x7e
InfoElement = <04>

INFO_RESP ID=001 #0x0008 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x101)
INFO_IND ID=001 #0x0009 LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <80>120

INFO_RESP ID=001 #0x0009 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CALLED PARTY NUMBER
> ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x000a LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>

INFO_RESP ID=001 #0x000a LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x000b LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1e
InfoElement = <80 83>

INFO_RESP ID=001 #0x000b LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element PI 80 83
> ISDN1: Origination is non ISDN
INFO_IND ID=001 #0x000c LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x7e
InfoElement = <04>

INFO_RESP ID=001 #0x000c LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x101)
INFO_IND ID=001 #0x000d LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <80>120

INFO_RESP ID=001 #0x000d LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CALLED PARTY NUMBER
> ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x000e LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <81>

INFO_RESP ID=001 #0x000e LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CHANNEL IDENTIFICATION 81
DISCONNECT_IND ID=001 #0x000f LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0

DISCONNECT_RESP ID=001 #0x000f LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: DISCONNECT_IND on incoming without pbx, doing hangup.
== ISDN1: CAPI Hangingup
== ISDN1: Interface cleanup PLCI=0x101
> CAPI devicestate requested for ISDN1/120
voipbox*CLI>
----------------

Gruss
Florian
 
Der CAPI Treiber scheint kein SETUP/SENDING-COMPLETE zu senden.
Versuchs mal mit
immediate=yes
in der capi.conf von chan-capi.

Armin
 
Hallo,

habe ich schon probiert, bringt leider auch nichts.

gruss
florian
 
??? und wie sieht das log dann aus?

Armin
 
sorry ..

das log war schon mit der änderung...
habe das in einem anderen thread gelesen..
gruss
florian
 
Sorry, aber das Log passt nicht zu deinen Aussagen.

Wie sieht denn die capi.conf genau aus?
Welche Version von chan-capi hast Du?

Armin
 
Hallo,

komme heute nicht mehr zum testen.
benutze das aktuellste voipbox image.
kannst du mir sagen wo ich die version von chan_capi sehe?

Melde mich dann wieder...
danke dir
gruss
florian
 
Die Version siehst Du beim Starten von Asterisk, oder in der Datei chan-capi.c

Armin
 
Hallo,

nun nochmals das capi debug mit dem immediate schalter :
--------
Asterisk 1.2.4, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <[email protected]> +++ compiled for VoIPBoX 0.1.7b
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.4 currently running on voipbox (pid = 9354)
voipbox*CLI> set verbose 5
Verbosity was 0 and is now 5
voipbox*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=001 #0x0000 LEN=0043
Controller/PLCI/NCCI = 0x101
CIPValue = 0x4
CalledPartyNumber = <80>120
CallingPartyNumber = <09 80>570
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <90 90 a3>
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = <00 00>
Keypadfacility = default
Useruserdata = <04>
Facilitydataarray = default

-- CONNECT_IND (PLCI=0x101,DID=120,CID=570,CIP=0x4,CONTROLLER=0x1)
> ISDN1: msn='*' DNID='120' MSN
== ISDN1: Incoming call '570' -> '120'
INFO_IND ID=001 #0x0001 LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1e
InfoElement = <80 83>

INFO_RESP ID=001 #0x0001 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element PI 80 83
> ISDN1: Origination is non ISDN
INFO_IND ID=001 #0x0002 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x7e
InfoElement = <04>

INFO_RESP ID=001 #0x0002 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x101)
INFO_IND ID=001 #0x0003 LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <80>120

INFO_RESP ID=001 #0x0003 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CALLED PARTY NUMBER
> ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x0004 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>

INFO_RESP ID=001 #0x0004 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x0005 LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1e
InfoElement = <80 83>

INFO_RESP ID=001 #0x0005 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element PI 80 83
> ISDN1: Origination is non ISDN
INFO_IND ID=001 #0x0006 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x7e
InfoElement = <04>

INFO_RESP ID=001 #0x0006 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x101)
INFO_IND ID=001 #0x0007 LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <80>120

INFO_RESP ID=001 #0x0007 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CALLED PARTY NUMBER
> ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x0008 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <81>

INFO_RESP ID=001 #0x0008 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CHANNEL IDENTIFICATION 81
DISCONNECT_IND ID=001 #0x0009 LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0

DISCONNECT_RESP ID=001 #0x0009 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: DISCONNECT_IND on incoming without pbx, doing hangup.
== ISDN1: CAPI Hangingup
== ISDN1: Interface cleanup PLCI=0x101
> CAPI devicestate requested for ISDN1/120
voipbox*CLI>
----------
die capi.conf:
-----------
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de ;set default language

[ISDN1] ;this example interface gets name 'ISDN1' and may be any
;name not starting with 'g' or 'contr'.
;ntmode=yes ;if isdn card operates in nt mode, set this to yes
isdnmode=msn ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
;when using NT-mode, 'DID' should be set in any case
incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * = any
;defaultcid=123 ;set a default caller id to that interface for dial-out,
;this caller id will be used when dial option 'd' is set.
controller=1 ;capi controller number to use
;group=1 ;dialout group
;prefix=0 ;set a prefix to calling number on incoming calls
;softdtmf=on ;enable/disable software dtmf detection, recommended for AVM cards
;relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf detection
;accountcode= ;Asterisk accountcode to use in CDRs
context=capi-in ;context for incoming calls
;holdtype=hold ;when Asterisk puts the call on hold, ISDN HOLD will be used. If
;set to 'local' (default value), no hold is done and Asterisk may
;play MOH.
immediate=yes ;DID: immediate start of pbx with extension 's' if no digits were
; received on incoming call (no destination number yet)
;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
; info like REDIRECTINGNUMBER may be lost, but this is necessary for
; drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
;echosquelch=1 ;_VERY_PRIMITIVE_ echo suppression
;echocancel=yes ;EICON DIVA SERVER (CAPI) echo cancelation
;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
;echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
;echotail=64 ;echo cancel tail setting
;bridge=yes ;native bridging (CAPI line interconnect) if available
;callgroup=1 ;Asterisk call group
;language=de ;set language for this device (overwrites default language)
devices=2 ;number of concurrent calls on this controller
;(2 makes sense for single BRI, 30 for PRI)


Wo finde ich den die chan-capi.c ?

Danke dir
Gruss
Florian
 
Hallo,

habe nun mal spaßhalber den asterisk mit stop now gestoppt
und wieder mit asterisk gestartet.
Und nun gehts!!!
Woran liegt das denn?

gruss
Florian
 
Keine Ahnung. War eventuell vorher gar kein Neustart?

Armin
 
naja die Konfiguration wird bei zum test nicht fest gespeichert,
d.h. nach starten der voipbox spiele ich die Konfig erstmal wieder ein.
Danach wird das Systen neu initialisiert, vermutlich zeigt dies aber keine auswirkung auf die module.conf.
anders kann ich mir das nicht erklären.

danke für deine Hilfe.
gruss
florian
 

Zurzeit aktive Besucher

Neueste Beiträge

Statistik des Forums

Themen
245,058
Beiträge
2,223,481
Mitglieder
371,861
Neuestes Mitglied
shortiii
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.