Call Forwarding auf Handy funktioniert nicht

neurox

Neuer User
Mitglied seit
12 Dez 2010
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Hallo Allerseits,

ich habe hier leider ein sehr seltsames Problem mit einer Asterisk 1.6.2.14 Installation und einer DIVA 4BRI. Ich verwende hier die original Dialogic CAPI.

Das Problem, was ich habe, tritt bei einem Call Forwarding auf Mobiltelefone auf. Das Call Forwarding ins Festnetz funktioniert einwandfrei, nur wenn ich die Zielrufnummer auf ein Mobiltelefon (O2 und Eplus getest) setze, dann erhalte ich ein

Code:
WARNING[27698]: app_dial.c:1750 dial_exec_full: Unable to create channel of type 'CAPI' (cause 44 - Requested channel not available)

Das seltsame dabei ist, dass das Handy manchmal auch einmal kurz klingelt aber auch noch nichteinmal eine Rufnummer anzeigt.

Ein normales Raustelefonieren auf Handys funktioniert einwandfrei. Da das Call Forwarding ins Festnetz ohne Probleme funktioniert nehme ich an, dass es irgendwie mit der CAPI zu tun hat. Kann mir jemand weiterhelfen?

Hier ein paar Debug ausgaben:


Code:
*CLI>   == ISDN1#02: Incoming call '' -> '17xxxxx'
    -- Executing [17xxxxx@isdn-in:1] NoOp("CAPI/ISDN1#02/17xxxxx-2", "Anruf von  fuer 17xxxxx") in new stack
    -- Executing [17xxxxx@isdn-in:2] GotoIf("CAPI/ISDN1#02/17xxxxx-2", "1?cfanlage:normal") in new stack
    -- Goto (isdn-in,17xxxxx,4)
    -- Executing [17xxxxx@isdn-in:4] NoOp("CAPI/ISDN1#02/17xxxxx-2", "Anruf fuer 17xxxxx wird verbunden zu 0163xxxxxxx") in new stack
    -- Executing [17xxxxx@isdn-in:5] Dial("CAPI/ISDN1#02/17xxxxx-2", "CAPI/ISDN1/0163xxxxxxx") in new stack
    -- Called ISDN1/0163xxxxxxx
    -- CAPI/ISDN1#01/0163xxxxxxx-3 is proceeding passing it to CAPI/ISDN1#02/17xxxxx-2
capi show channels
CAPI B-channel information:
Line-Name       NTmode state i/o bproto isdnstate   ton  number
----------------------------------------------------------------
ISDN2#02         yes   -----  -  trans              0x00 ''->''
ISDN2#01         yes   -----  -  trans              0x00 ''->''
ISDN1#02         no    icall  I   vocoder   *S          0x00 ''->'17xxxxx'
ISDN1#01         no    Dial   O   vocoder   *           0x00 ''->'0163xxxxxxx'



Code:
*CLI> CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x82 MsgNum=0x0014 NCCI=0x00002101
CONNECT_IND                ID=002 #0x0014 LEN=0042
  Controller/PLCI/NCCI            = 0x2101
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>17xxxxx
  CallingPartyNumber              = <00 a3>
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                 
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

    -- CONNECT_IND (PLCI=0x2101,DID=17xxxxx,CID=,CIP=0x10,CONTROLLER=0x1)
       > ISDN1#02: msn='*' DNID='17xxxxx' MSN
  == ISDN1#02: setting format alaw - 0x8 (alaw)VOCODER
  == ISDN1#02: Incoming call '' -> '17xxxxx'
    -- ISDN1#02: CAPI/ISDN1#02/17xxxxx-3: 17xxxxx matches in context isdn-in
       > chan_capi devicestate requested for ISDN1#02/17xxxxx is 'Ringing'
  == Started pbx on channel CAPI/ISDN1#02/17xxxxx-3
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0015 NCCI=0x00002101
INFO_IND                   ID=002 #0x0015 LEN=0023
  Controller/PLCI/NCCI            = 0x2101
  InfoNumber                      = 0x70
  InfoElement                     = <c1>17xxxxx

INFO_RESP                  ID=002 #0x0015 LEN=0012
  Controller/PLCI/NCCI            = 0x2101

    -- ISDN1#02: info element CALLED PARTY NUMBER
       > ISDN1#02: INFO_IND DID digits not used in this state.
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0016 NCCI=0x00002101
INFO_IND                   ID=002 #0x0016 LEN=0015
  Controller/PLCI/NCCI            = 0x2101
  InfoNumber                      = 0xa1
  InfoElement                     = default

INFO_RESP                  ID=002 #0x0016 LEN=0012
  Controller/PLCI/NCCI            = 0x2101

    -- ISDN1#02: info element Sending Complete
  == ISDN1#02: pbx already started on channel CAPI/ISDN1#02/17xxxxx-3
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0017 NCCI=0x00002101
INFO_IND                   ID=002 #0x0017 LEN=0016
  Controller/PLCI/NCCI            = 0x2101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

INFO_RESP                  ID=002 #0x0017 LEN=0012
  Controller/PLCI/NCCI            = 0x2101

    -- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0018 NCCI=0x00002101
INFO_IND                   ID=002 #0x0018 LEN=0015
  Controller/PLCI/NCCI            = 0x2101
  InfoNumber                      = 0x8005
  InfoElement                     = default

INFO_RESP                  ID=002 #0x0018 LEN=0012
  Controller/PLCI/NCCI            = 0x2101

    -- ISDN1#02: info element SETUP
       > ISDN1#02: IE SETUP / SENDING-COMPLETE already received.
    -- Executing [17xxxxx@isdn-in:1] NoOp("CAPI/ISDN1#02/17xxxxx-3", "Anruf von  fuer 17xxxxx") in new stack
    -- Executing [17xxxxx@isdn-in:2] GotoIf("CAPI/ISDN1#02/17xxxxx-3", "1?cfanlage:normal") in new stack
    -- Goto (isdn-in,17xxxxx,4)
    -- Executing [17xxxxx@isdn-in:4] NoOp("CAPI/ISDN1#02/17xxxxx-3", "Anruf fuer 17xxxxx wird verbunden zu 0163xxxxxxx") in new stack
    -- Executing [17xxxxx@isdn-in:5] Dial("CAPI/ISDN1#02/17xxxxx-3", "CAPI/ISDN1/0163xxxxxxx") in new stack
       > data = ISDN1/0163xxxxxxx format=8
       > parsed dialstring: 'ISDN1' 'NULL' '0163xxxxxxx' ''
       > capi request for interface 'ISDN1'
  == ISDN1#01: setting format alaw - 0x8 (alaw)VOCODER
       > parsed dialstring: 'ISDN1' 'NULL' '0163xxxxxxx' ''
       > capi: peerlink -1 allocated, peer is unlinked
  == ISDN1#01: Call CAPI/ISDN1#01/0163xxxxxxx-4   (pres=0x23, ton=0x00)
       > chan_capi devicestate requested for ISDN1#01/0163xxxxxxx is 'In use'
CONNECT_REQ                ID=002 #0x0011 LEN=0062
  Controller/PLCI/NCCI            = 0x1
  CIPValue                        = 0x1
  CalledPartyNumber               = <80>0163xxxxxxx
  CallingPartyNumber              = <00 a3>
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BProtocol                      
   B1protocol                     = 0x1f
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = <08 04 03 00 a0 00>
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  BC                              = default
  LLC                             = default
  HLC                             = default
  AdditionalInfo                 
   BChannelinformation            = <00 00>
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = <01 00>

    -- Called ISDN1/0163xxxxxxx
CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x81 MsgNum=0x0011 NCCI=0x00002001
CONNECT_CONF               ID=002 #0x0011 LEN=0014
  Controller/PLCI/NCCI            = 0x2001
  Info                            = 0x0

    -- ISDN1#01: received CONNECT_CONF PLCI = 0x2001
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0019 NCCI=0x00002001
INFO_IND                   ID=002 #0x0019 LEN=0016
  Controller/PLCI/NCCI            = 0x2001
  InfoNumber                      = 0x18
  InfoElement                     = <8a>

INFO_RESP                  ID=002 #0x0019 LEN=0012
  Controller/PLCI/NCCI            = 0x2001

    -- ISDN1#01: info element CHANNEL IDENTIFICATION 8a
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x001a NCCI=0x00002001
INFO_IND                   ID=002 #0x001a LEN=0015
  Controller/PLCI/NCCI            = 0x2001
  InfoNumber                      = 0x8002
  InfoElement                     = default

INFO_RESP                  ID=002 #0x001a LEN=0012
  Controller/PLCI/NCCI            = 0x2001

    -- ISDN1#01: info element CALL PROCEEDING
    -- chan_capi queue frame:[0 [ TYPE: Control (4) SUBCLASS: Unknown control '15' (15) ] [ISDN1#01]
    -- CAPI/ISDN1#01/0163xxxxxxx-4 is proceeding passing it to CAPI/ISDN1#02/17xxxxx-3
  == ISDN1#02: Requested PROCEEDING-Indication for CAPI/ISDN1#02/17xxxxx-3
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x001c NCCI=0x00002101
INFO_IND                   ID=002 #0x001c LEN=0015
  Controller/PLCI/NCCI            = 0x2101
  InfoNumber                      = 0x804d
  InfoElement                     = default

INFO_RESP                  ID=002 #0x001c LEN=0012
  Controller/PLCI/NCCI            = 0x2101

    -- ISDN1#02: info element RELEASE
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x82 MsgNum=0x001d NCCI=0x00002101
DISCONNECT_IND             ID=002 #0x001d LEN=0014
  Controller/PLCI/NCCI            = 0x2101
  Reason                          = 0x3490

DISCONNECT_RESP            ID=002 #0x001d LEN=0012
  Controller/PLCI/NCCI            = 0x2101

       > ISDN1#02: CAPI INFO 0x3490: Normal call clearing
    -- chan_capi queue frame:[0 [ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
  == ISDN1#01: CAPI Hangingup for PLCI=0x2001 in state 5
    -- ISDN1#01: activehangingup (cause=0) for PLCI=0x2001
DISCONNECT_REQ             ID=002 #0x0012 LEN=0013
  Controller/PLCI/NCCI            = 0x2001
  AdditionalInfo                  = default

       > chan_capi devicestate requested for ISDN1#01/0163xxxxxxx is 'Not in use'
  == Spawn extension (isdn-in, 17xxxxx, 5) exited non-zero on 'CAPI/ISDN1#02/17xxxxx-3'
       > chan_capi devicestate requested for ISDN1#01/0163xxxxxxx is 'Not in use'
  == ISDN1#02: CAPI Hangingup for PLCI=0xdead0000 in state 4
  == ISDN1#02: Interface cleanup PLCI=0xdead0000
       > chan_capi devicestate requested for ISDN1#02/17xxxxx is 'Not in use'
       > chan_capi devicestate requested for ISDN1#02/17xxxxx is 'Not in use'
CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x82 MsgNum=0x001e NCCI=0x00002201
CONNECT_IND                ID=002 #0x001e LEN=0042
  Controller/PLCI/NCCI            = 0x2201
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>17xxxxx
  CallingPartyNumber              = <00 a3>
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                 
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

    -- CONNECT_IND (PLCI=0x2201,DID=17xxxxx,CID=,CIP=0x10,CONTROLLER=0x1)
       > ISDN1#02: msn='*' DNID='17xxxxx' MSN
  == ISDN1#02: setting format alaw - 0x8 (alaw)VOCODER
  == ISDN1#02: Incoming call '' -> '17xxxxx'
    -- ISDN1#02: CAPI/ISDN1#02/17xxxxx-5: 17xxxxx matches in context isdn-in
       > chan_capi devicestate requested for ISDN1#02/17xxxxx is 'Ringing'
  == Started pbx on channel CAPI/ISDN1#02/17xxxxx-5
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x001f NCCI=0x00002201
INFO_IND                   ID=002 #0x001f LEN=0023
  Controller/PLCI/NCCI            = 0x2201
  InfoNumber                      = 0x70
  InfoElement                     = <c1>17xxxxx

INFO_RESP                  ID=002 #0x001f LEN=0012
  Controller/PLCI/NCCI            = 0x2201

    -- ISDN1#02: info element CALLED PARTY NUMBER
       > ISDN1#02: INFO_IND DID digits not used in this state.
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0020 NCCI=0x00002201
INFO_IND                   ID=002 #0x0020 LEN=0015
  Controller/PLCI/NCCI            = 0x2201
  InfoNumber                      = 0xa1
  InfoElement                     = default

INFO_RESP                  ID=002 #0x0020 LEN=0012
  Controller/PLCI/NCCI            = 0x2201

    -- ISDN1#02: info element Sending Complete
  == ISDN1#02: pbx already started on channel CAPI/ISDN1#02/17xxxxx-5
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0021 NCCI=0x00002201
INFO_IND                   ID=002 #0x0021 LEN=0016
  Controller/PLCI/NCCI            = 0x2201
  InfoNumber                      = 0x18
  InfoElement                     = <89>

INFO_RESP                  ID=002 #0x0021 LEN=0012
  Controller/PLCI/NCCI            = 0x2201

    -- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0022 NCCI=0x00002201
INFO_IND                   ID=002 #0x0022 LEN=0015
  Controller/PLCI/NCCI            = 0x2201
  InfoNumber                      = 0x8005
  InfoElement                     = default

INFO_RESP                  ID=002 #0x0022 LEN=0012
  Controller/PLCI/NCCI            = 0x2201

    -- ISDN1#02: info element SETUP
       > ISDN1#02: IE SETUP / SENDING-COMPLETE already received.
    -- Executing [17xxxxx@isdn-in:1] NoOp("CAPI/ISDN1#02/17xxxxx-5", "Anruf von  fuer 17xxxxx") in new stack
    -- Executing [17xxxxx@isdn-in:2] GotoIf("CAPI/ISDN1#02/17xxxxx-5", "1?cfanlage:normal") in new stack
    -- Goto (isdn-in,17xxxxx,4)
    -- Executing [17xxxxx@isdn-in:4] NoOp("CAPI/ISDN1#02/17xxxxx-5", "Anruf fuer 17xxxxx wird verbunden zu 0163xxxxxxx") in new stack
    -- Executing [17xxxxx@isdn-in:5] Dial("CAPI/ISDN1#02/17xxxxx-5", "CAPI/ISDN1/0163xxxxxxx") in new stack
       > data = ISDN1/0163xxxxxxx format=8
       > parsed dialstring: 'ISDN1' 'NULL' '0163xxxxxxx' ''
       > capi request for interface 'ISDN1'
    -- didn't find capi device for interface 'ISDN1'
[Dec 12 20:56:34] WARNING[27698]: app_dial.c:1750 dial_exec_full: Unable to create channel of type 'CAPI' (cause 44 - Requested channel not available)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'CAPI/ISDN1#02/17xxxxx-5' status is 'CHANUNAVAIL'
  == ISDN1#02: Requested CONGESTION-Indication for CAPI/ISDN1#02/17xxxxx-5
CONNECT_RESP               ID=002 #0x001e LEN=0019
  Controller/PLCI/NCCI            = 0x2201
  Reject                          = 0x4
  BProtocol                       = default
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo                  = default

CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x82 MsgNum=0x0024 NCCI=0x00002201
DISCONNECT_IND             ID=002 #0x0024 LEN=0014
  Controller/PLCI/NCCI            = 0x2201
  Reason                          = 0x34ac

DISCONNECT_RESP            ID=002 #0x0024 LEN=0012
  Controller/PLCI/NCCI            = 0x2201

       > ISDN1#02: CAPI INFO 0x34ac: Requested circuit / channel not available
    -- chan_capi queue frame:[0 [ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
       > chan_capi devicestate requested for ISDN1#02/17xxxxx is 'Not in use'
  == ISDN1#02: CAPI Hangingup for PLCI=0xdead0000 in state 4
  == ISDN1#02: Interface cleanup PLCI=0xdead0000
       > chan_capi devicestate requested for ISDN1#02/17xxxxx is 'Not in use'
       > chan_capi devicestate requested for ISDN1#02/17xxxxx is 'Not in use'
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x81 MsgNum=0x0012 NCCI=0x00002001
DISCONNECT_CONF            ID=002 #0x0012 LEN=0014
  Controller/PLCI/NCCI            = 0x2001
  Info                            = 0x0

CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0025 NCCI=0x00002001
INFO_IND                   ID=002 #0x0025 LEN=0015
  Controller/PLCI/NCCI            = 0x2001
  InfoNumber                      = 0x804d
  InfoElement                     = default

INFO_RESP                  ID=002 #0x0025 LEN=0012
  Controller/PLCI/NCCI            = 0x2001

    -- ISDN1#01: info element RELEASE
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x82 MsgNum=0x0027 NCCI=0x00002001
DISCONNECT_IND             ID=002 #0x0027 LEN=0014
  Controller/PLCI/NCCI            = 0x2001
  Reason                          = 0x3490

DISCONNECT_RESP            ID=002 #0x0027 LEN=0012
  Controller/PLCI/NCCI            = 0x2001

       > ISDN1#01: CAPI INFO 0x3490: Normal call clearing
  == ISDN1#01: Interface cleanup PLCI=0x2001

... und hier auch noch mein capi.conf

Code:
[general]
; ----------------------------------------------
; /usr/lib/eicon/divas/chancapi.general
; ----------------------------------------------
;nationalprefix=0        ; or for example "+49"
internationalprefix=00  ; or for example "+"
;subscriberprefix=+4969 ; prefix including area code (some lines need this)
rxgain=1.0       ;linear receive gain, 1.0 = no change, use Diva rxdgain and rxagc for gain control
txgain=1.0       ;linear transmit gain, 1.0 = no change, use Diva txdgain and txagc for gain control
language=de      ;set default language
;ulaw=yes        ;set this, if you live in u-law world instead of a-law

;jb.....         ;with Asterisk 1.4 you can configure jitterbuffer,
                 ;see Asterisk documentation for all jb* setting available.
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.


[ISDN1]
ntmode=no
isdnmode=msn
immediate=yes
incomingmsn=* ;Use Diva MSN settings
group=1
controller=1
softdtmf=off
relaxdtmf=off
faxdetect=off
faxdetecttime=0
accountcode=
context=isdn-in
holdtype=local
echocancelold=no
bridge=yes
devices=2
echocancel=yes
echocancelnlp=0
disallow=all
allow=alaw

[ISDN2]
ntmode=yes
isdnmode=did
immediate=no
overlapdial=incoming
incomingmsn=* ;Use Diva MSN settings
group=1
controller=2
softdtmf=on
relaxdtmf=on
faxdetect=off
faxdetecttime=0
accountcode=
context=isdn-in-1
holdtype=local
echocancelold=no
bridge=yes
devices=2
echocancel=no
echocancelnlp=0
disallow=all
allow=alaw

Für Hilfe wäre ich sehr dankbar!!!!

Viele Grüße
neurox
 
Hallo liebes Forum,

zwischenzeitlich hat mir der wirklich gute Support von Dialogic weitergeholfen. Die Ursache für das Problem lag dann doch im Dialplan.

Den Ausgehenden Anruf hatte ich mit

Code:
exten => 17xxxxx,n,Dial(CAPI/ISDN1/${DB(CF/anlage)})

angelegt, was dazu führte, dass der Anruf auf dem eingehenden Kanal erst beantwortet wurde, wenn die ausgehende Verbindung aufgebaut ist. Bei einer Verbindung zum Mobilnetz kann das ein paar Sekunden dauern, in denen die eingehende Verbindung "in der Luft" hängt.

Das Problem wurde dann also mit

Code:
exten => 17xxxxx,n,Dial(CAPI/ISDN1/${DB(CF/anlage)},,r)

gelößt.

Hoffe es hilft denen, die über den selben Anfängerfehler stolpern.

viele Grüße
neuxox
 
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.