[Asterisk-Users] Incoming calls and CAPI

igil at europesip.com igil at europesip.com
Thu Apr 28 01:38:19 MST 2005


Hello all,

I just instaled an AVM C4 card on my asterisk to connect it to the PSTN 
and send or revibe calls using it.

I can make calls perfectly, two calls over the same port at same time.

The problem appears when a call arribes. CAPI seems to answer it and pass 
it to asterisk and the call hangs up.

Any clue will be welcomed.

thaks for your time.

I get this logs errors.

  -- CONNECT_IND ID=001 #0x0bce LEN=0035
  Controller/PLCI/NCCI            = 0x102
  CIPValue                        = 0x1
  CalledPartyNumber               = <89>402
  CallingPartyNumber              = <09 80>201
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = default
  AdditionalInfo                  = default

Apr 28 05:05:45 NOTICE[727]: chan_capi.c:1932 capi_handle_msg:
CONNECT_IND ID=001 #0x0bce LEN=0035
  Controller/PLCI/NCCI            = 0x102
  CIPValue                        = 0x1
  CalledPartyNumber               = <89>402
  CallingPartyNumber              = <09 80>201
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = default
  AdditionalInfo                  = default

  == CONNECT_IND (PLCI=0x102,DID=402,CID=201,CIP=0x1,CONTROLLER=0x2)
  == Starting CAPI[contr2/402]/18 at llamadas_entrantes,402,1 failed
so falling back to exten 's'
    -- Executing GotoIf("CAPI[contr2/402]/18",
"0?horario_oficina_okm|s|1") in new stack
    -- Executing GotoIf("CAPI[contr2/402]/18",
"0?horario_oficina_alaire|s|1") in new stack
    -- Executing GotoIf("CAPI[contr2/402]/18",
"0?llamada_aitor_gil|s|1") in new stack
    -- Executing GotoIf("CAPI[contr2/402]/18",
"0?contexto_fax_recepcion1|s|1") in new stack
    -- Executing Goto("CAPI[contr2/402]/18",
"contexto_operadora_okm|s|1") in new stack
    -- Goto (contexto_operadora_okm,s,1)
    -- Executing Answer("CAPI[contr2/402]/18", "") in new stack
    -- Executing SetLanguage("CAPI[contr2/402]/18", "es") in new stack
    -- Executing Dial("CAPI[contr2/402]/18", "SIP/100|70|Ttr") in new 
stack
    -- Called 100
    -- started pbx on channel (callgroup=2)!
    -- INFO_IND ID=001 #0x0bcf LEN=0019
  Controller/PLCI/NCCI            = 0x102
  InfoNumber                      = 0x70
  InfoElement                     = <89>402

    -- INFO_IND ID=001 #0x0bd0 LEN=0016
  Controller/PLCI/NCCI            = 0x102
  InfoNumber                      = 0x18
  InfoElement                     = <89>

    -- ALERT_CONF ID=001 #0x0bce LEN=0014
  Controller/PLCI/NCCI            = 0x102
  Info                            = 0x0

    -- INFO_IND ID=001 #0x0bd1 LEN=0017
  Controller/PLCI/NCCI            = 0x102
  InfoNumber                      = 0x8
  InfoElement                     = <82 90>

    -- DISCONNECT_IND ID=001 #0x0bd2 LEN=0014
  Controller/PLCI/NCCI            = 0x102
  Reason                          = 0x3490

  == DISCONNECT_IND PLCI=0x102 REASON=0x3490
  == Spawn extension (contexto_operadora_okm, s, 3) exited non-zero on
'CAPI[contr2/402]/18'
    -- CONNECT_IND ID=001 #0x0bd3 LEN=0035
  Controller/PLCI/NCCI            = 0x102
  CIPValue                        = 0x1
  CalledPartyNumber               = <89>409
  CallingPartyNumber              = <09 80>201
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = default
  AdditionalInfo                  = default

Apr 28 05:05:47 NOTICE[727]: chan_capi.c:1932 capi_handle_msg:
CONNECT_IND ID=001 #0x0bd3 LEN=0035
  Controller/PLCI/NCCI            = 0x102
  CIPValue                        = 0x1
  CalledPartyNumber               = <89>409
  CallingPartyNumber              = <09 80>201
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = default
  AdditionalInfo                  = default

  == CONNECT_IND (PLCI=0x102,DID=409,CID=201,CIP=0x1,CONTROLLER=0x2)
  == Starting CAPI[contr2/409]/19 at llamadas_entrantes,409,1 failed
so falling back to exten 's'
    -- Executing GotoIf("CAPI[contr2/409]/19",
"0?horario_oficina_okm|s|1") in new stack
    -- Executing GotoIf("CAPI[contr2/409]/19",
"0?horario_oficina_alaire|s|1") in new stack
    -- Executing GotoIf("CAPI[contr2/409]/19",
"0?llamada_aitor_gil|s|1") in new stack
    -- Executing GotoIf("CAPI[contr2/409]/19",
"0?contexto_fax_recepcion1|s|1") in new stack
    -- Executing Goto("CAPI[contr2/409]/19",
"contexto_operadora_okm|s|1") in new stack
    -- Goto (contexto_operadora_okm,s,1)
    -- Executing Answer("CAPI[contr2/409]/19", "") in new stack
    -- Executing SetLanguage("CAPI[contr2/409]/19", "es") in new stack
    -- Executing Dial("CAPI[contr2/409]/19", "SIP/100|70|Ttr") in new 
stack
    -- Called 100
    -- started pbx on channel (callgroup=2)!
    -- INFO_IND ID=001 #0x0bd4 LEN=0019
  Controller/PLCI/NCCI            = 0x102
  InfoNumber                      = 0x70
  InfoElement                     = <89>409

    -- INFO_IND ID=001 #0x0bd5 LEN=0016
  Controller/PLCI/NCCI            = 0x102
  InfoNumber                      = 0x18
  InfoElement                     = <89>

    -- ALERT_CONF ID=001 #0x0bd3 LEN=0014
  Controller/PLCI/NCCI            = 0x102
  Info                            = 0x0

    -- INFO_IND ID=001 #0x0bd6 LEN=0017
  Controller/PLCI/NCCI            = 0x102
  InfoNumber                      = 0x8
  InfoElement                     = <82 90>

    -- DISCONNECT_IND ID=001 #0x0bd7 LEN=0014
  Controller/PLCI/NCCI            = 0x102
  Reason                          = 0x3490

  == DISCONNECT_IND PLCI=0x102 REASON=0x3490
  == Spawn extension (contexto_operadora_okm, s, 3) exited non-zero on
'CAPI[contr2/409]/19'
Asterisk-OKM*CLI>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050428/f6cf3d92/attachment.htm


More information about the asterisk-users mailing list