Probleme mit Dial CAPI seit cm-0.6.1

yuraukar

Neuer User
Mitglied seit
23 Feb 2005
Beiträge
92
Punkte für Reaktionen
0
Punkte
0
Ich habe auf Asterisk 1.2 und capi cm 0.6.1 umgestellt. Seitdem macht mir das Rauswählen Probleme:

Bisher war mein Dialstring quasi
Code:
exten => s,1,Set(CALLERID(number)=5551234)
exten => s,2,Dial(Capi/contr1/b9991234,)

Damit bekomme ich nun Fehler:
1) no application 'set' for extension...: kann nur behoben werden, wenn ich 1 duch exten => s,1,SetCallerId(5551234) ersetze

2) invalid number format: kann nur behoben werden, wenn ich 2 durch
exten => s,2,Dial(Capi/contr1/9991234/b,) ersetze.

Aber auch dann fehlt mir das Freizeichen beim Klingen. Was mache ich falsch?

Mit altem Asterisk und cm 0.5.x hat das funktioniert.
 
Der neue Dialstring ist soweit richtig....
Mach mal bitte ein log mit verbose level 5 und 'capi debug'.

Armin
 
Debug-Ausgabe anbei.

Code:
    -- Executing Macro("SCCP/9999999-00000001", "call-extern|05615555555|9999999") in new stack
    -- Executing SetCallerID("SCCP/9999999-00000001", "9999999") in new stack
    -- Executing Dial("SCCP/9999999-00000001", "Capi/contr1/05615555555/b|30") in new stack
       > data = contr1/05615555555/b
       > parsed dialstring: 'contr1' '' '05615555555' 'b'
       > capi request controller = 1
       > parsed dialstring: 'contr1' '' '05615555555' 'b'
  == ISDN1: Call CAPI/ISDN1/05615555555-0 with B3  (pres=0x00, ton=0x00)
CONNECT_REQ ID=001 #0x0003 LEN=0061
  Controller/PLCI/NCCI            = 0x1
  CIPValue                        = 0x10
  CalledPartyNumber               = <80>05615555555
  CallingPartyNumber              = <00 80>9999999
  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

    -- Called contr1/05615555555/b
CONNECT_CONF ID=001 #0x0003 LEN=0014

  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- ISDN1: received CONNECT_CONF PLCI = 0x101
INFO_IND ID=001 #0xf178 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x800d
  InfoElement                     = default

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

    -- ISDN1: info element SETUP ACK
INFO_IND ID=001 #0xf179 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

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

    -- ISDN1: info element CHANNEL IDENTIFICATION 89
CONNECT_IND ID=001 #0xf17a LEN=0048
  Controller/PLCI/NCCI            = 0x201
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>5555555
  CallingPartyNumber              = <21 81>5619999999
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x201,DID=5555555,CID=5619999999,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='9999999' DNID='5555555' MSN
Nov 28 14:15:21 WARNING[15536]: chan_capi.c:3249 capi_handle_connect_indication: did not find device for msn = 5555555
CONNECT_RESP ID=001 #0xf17a LEN=0034
  Controller/PLCI/NCCI            = 0x201
  Reject                          = 0x1
  BProtocol
   B1protocol                     = 0x0
   B2protocol                     = 0x0
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

       > CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x201, MSGNUM=0xf17a!
INFO_IND ID=001 #0xf17b LEN=0023
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x70
  InfoElement                     = <c1>5555555

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x201, MSGNUM=0xf17b!
INFO_IND ID=001 #0xf17c LEN=0016
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x18
  InfoElement                     = <8a>

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x201, MSGNUM=0xf17c!
INFO_IND ID=001 #0xf17d LEN=0016
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x201, MSGNUM=0xf17d!
DISCONNECT_IND ID=001 #0xf17e LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Reason                          = 0x0

       > CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x201, MSGNUM=0xf17e!
INFO_IND ID=001 #0xf17f LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8002
  InfoElement                     = default

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

    -- ISDN1: info element CALL PROCEEDING
CONNECT_B3_REQ ID=001 #0x0004 LEN=0013
  Controller/PLCI/NCCI            = 0x101
  NCPI                            = default

CONNECT_B3_CONF ID=001 #0x0004 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x2001

Nov 28 14:15:21 WARNING[15536]: chan_capi.c:3334 show_capi_conf_error: ISDN1: conf_error 0x2001 PLCI=0x101 Command=CONNECT_B3_CONF,0x8487
       > CAPI INFO 0x2001: Message not supported in current state
INFO_IND ID=001 #0xf180 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8001
  InfoElement                     = default

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

    -- ISDN1: info element ALERTING
INFO_IND ID=001 #0xf181 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <82 88>

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

    -- ISDN1: info element PI 82 88
       > ISDN1: In-band information available
    -- CAPI/ISDN1/05615555555-0 is ringing
INFO_IND ID=001 #0xf182 LEN=0028
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x28
  InfoElement                     = CCNR moeglich

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

    -- ISDN1: info element DSP
INFO_IND ID=001 #0xf183 LEN=0033
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1c
  InfoElement                     = <91 a1 0f 02 02>vn<06 06 04 00 82>g<01 01 02 01 02>

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

    -- ISDN1: info element FACILITY
    -- CAPI/ISDN1/05615555555-0 is making progress passing it to SCCP/9999999-00000001
    -- SEP0013C4FCDC57: Ending call 1 on line 9999999
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=0)
DISCONNECT_REQ ID=001 #0x0005 LEN=0018
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

  == Spawn extension (macro-call-extern, s, 2) exited non-zero on 'SCCP/9999999-00000001' in macro 'call-extern'
  == Spawn extension (default, 05615555555, 1) exited non-zero on 'SCCP/9999999-00000001'
    -- Executing Hangup("SCCP/9999999-00000001", "") in new stack
  == Spawn extension (default, h, 1) exited non-zero on 'SCCP/9999999-00000001'
    -- SCCP: Asterisk request to hangup Outbound channel SCCP/9999999-00000001
DISCONNECT_CONF ID=001 #0x0005 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- SEP0013C4FCDC57: Statistics from 05615555555 callid: 1 Packets sent: 332 rcvd: 0 lost: 0 jitter: 0 latency: 0
DISCONNECT_IND ID=001 #0xf184 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3400

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

  == ISDN1: Interface cleanup PLCI=0x101
 
Wo auch immer du da anrufst, bzw. welchen Provider du benutzt, es wird kein CALL-PROCEEDING gesendet. Und nur wenn das vom Provider kommt, wird auch early-B3 benutzt. Versuch mal zusaetzlich Option 'o', also Dial(CAPI/contr1/12345/bo)
Damit sollte B3 schon vor dem Waehlen der Nummer aktiviert werden.

Armin
 
Die Option /bo geht.

Bei der Vorversion war das aber nicht nötig. Provider ist Arcor.
 
Warum das bei der Vorversion auch so ging, kann ich nicht sagen. Ein Log zum Vergleichen waere da nicht schlecht.

Armin
 
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.