- Mitglied seit
- 4 Jul 2006
- Beiträge
- 9
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hallo!
Hab jetzt stundenlang im Forum gewühlt, aber bin mit meinem Latein (Asterisk-Neuling) am Ende und weiß nicht weiter...
Nach etwas Bastelei läuft hier jetzt Asterisk 1.2.9.1 mit chan_capi 0.6.5. Hardware ist eine AVM Fritz!PCI, die an einem ISDN-Basisanschluss der Telekom Austria hängt. Ausgehende Anrufe funktionieren problemlos, eingehende zu den Durchwahlen vom Mobiltelefon aus getestet -> ebenfalls bestens.
Vom Festnetz aus funktioniert es allerdings nicht. Hier ein Beispiel für einen gescheiterten Anruf:
Ich versteh hier zwar fast nur Bahnhof, aber anscheinend wird die Durchwahl nicht mitgeliefert (" Incoming call '014801234' -> '' " vs. "Incoming call '069981512345' -> '110' " im Beispiel unten). Allerdings bekommt der Anrufer nur einen "Besetzton", kommt also auch nicht ins "Hauptmenü" das man normalerweise hört wenn man nur die Hauptnummer ohne Durchwahl wählt.
Zum Vergleich ein funktionierender Anruf vom Mobiltelefon aus:
Meine capi.conf:
Kann mir jemand weiterhelfen?
Hab jetzt stundenlang im Forum gewühlt, aber bin mit meinem Latein (Asterisk-Neuling) am Ende und weiß nicht weiter...
Nach etwas Bastelei läuft hier jetzt Asterisk 1.2.9.1 mit chan_capi 0.6.5. Hardware ist eine AVM Fritz!PCI, die an einem ISDN-Basisanschluss der Telekom Austria hängt. Ausgehende Anrufe funktionieren problemlos, eingehende zu den Durchwahlen vom Mobiltelefon aus getestet -> ebenfalls bestens.
Vom Festnetz aus funktioniert es allerdings nicht. Hier ein Beispiel für einen gescheiterten Anruf:
Code:
*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=001 #0x8a49 LEN=0038
Controller/PLCI/NCCI = 0x101
CIPValue = 0x10
CalledPartyNumber = default
CallingPartyNumber = <21 83>14801234
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = <91 81>
AdditionalInfo = default
-- CONNECT_IND (PLCI=0x101,DID=,CID=14801234,CIP=0x10,CONTROLLER=0x1)
== ISDN1: Incoming call '014801234' -> ''
INFO_IND ID=001 #0x8a4a LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=001 #0x8a4a LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x8a4b LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=001 #0x8a4b LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element CHANNEL IDENTIFICATION 89
DISCONNECT_IND ID=001 #0x8a4c LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0
DISCONNECT_RESP ID=001 #0x8a4c 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/
Ich versteh hier zwar fast nur Bahnhof, aber anscheinend wird die Durchwahl nicht mitgeliefert (" Incoming call '014801234' -> '' " vs. "Incoming call '069981512345' -> '110' " im Beispiel unten). Allerdings bekommt der Anrufer nur einen "Besetzton", kommt also auch nicht ins "Hauptmenü" das man normalerweise hört wenn man nur die Hauptnummer ohne Durchwahl wählt.
Zum Vergleich ein funktionierender Anruf vom Mobiltelefon aus:
Code:
CONNECT_IND ID=001 #0x8a4d LEN=0043
Controller/PLCI/NCCI = 0x101
CIPValue = 0x1
CalledPartyNumber = <81>110
CallingPartyNumber = <21 83>69981512345
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = default
AdditionalInfo = default
-- CONNECT_IND (PLCI=0x101,DID=110,CID=69981512345,CIP=0x1,CONTROLLER=0x1)
> ISDN1: msn='*' DNID='110' MSN
== ISDN1: Incoming call '069981512345' -> '110'
INFO_IND ID=001 #0x8a4e LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <81>110
INFO_RESP ID=001 #0x8a4e 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 #0x8a4f LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=001 #0x8a4f LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x8a50 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0xa1
InfoElement = <a1>
INFO_RESP ID=001 #0x8a50 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element Sending Complete
-- ISDN1: CAPI/ISDN1/110-bb: 110 matches in context capi-in
== Started pbx on channel CAPI/ISDN1/110-bb
> CAPI devicestate requested for ISDN1/110
-- Executing Macro("CAPI/ISDN1/110-bb", "incoming|SIP/110") in new stack
-- Executing SetCIDNum("CAPI/ISDN1/110-bb", "*069981512345") in new stack
-- Executing Dial("CAPI/ISDN1/110-bb", "SIP/110|40|rtT") in new stack
-- Called 110
== ISDN1: Requested RINGING-Indication for CAPI/ISDN1/110-bb
ALERT_REQ ID=001 #0x3120 LEN=0017
Controller/PLCI/NCCI = 0x101
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
ALERT_CONF ID=001 #0x3120 LEN=0014
Controller/PLCI/NCCI = 0x101
Info = 0x0
-- SIP/110-2d66 is ringing
INFO_IND ID=001 #0x8a51 LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x8
InfoElement = <80 90>
INFO_RESP ID=001 #0x8a51 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element CAUSE 80 90
DISCONNECT_IND ID=001 #0x8a52 LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x3490
DISCONNECT_RESP ID=001 #0x8a52 LEN=0012
Controller/PLCI/NCCI = 0x101
> CAPI INFO 0x3490: Normal call clearing
== ISDN1: CAPI Hangingup
== ISDN1: Interface cleanup PLCI=0x101
> CAPI devicestate requested for ISDN1/110
Meine capi.conf:
Code:
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de ;set default language
;ulaw=yes ;set this, if you live in u-law world instead of a-law
; interface sections ...
[ISDN1]
;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.
;bridge=yes ;native bridging (CAPI line interconnect) if available
devices=2 ;number of concurrent calls on this controller
;(2 makes sense for single BRI, 30 for PRI)
Kann mir jemand weiterhelfen?
Zuletzt bearbeitet: