[Asterisk-Users] Strange problem with SIP and CAPI

Cyrille Demaret cyrille at easynet.be
Fri Jul 15 02:12:51 MST 2005


Hi,

I’ve strange problem when I’m making a call from SIP (Cisco 7960) to capi
(Fritz PCI). When I call a national number, I’m hearing the ringtone when
the called party is ringing but when I call an international number, I don’t
hear the ringtone and I’ve a silence until the called party answers. Both
call are going through the same extension.

Here’s 2 log files, one with a national number and one with an
international.

National :
----------------------------------------------------------------------------
--------------------------------------------------- 
    -- Executing Dial("SIP/200-837b", "CAPI/010xxxxxx:b0478xxxxxx|30") in
new stack
    -- data = 010xxxxxx:b0478xxxxxx
    -- capi request omsn = 010xxxxxx
  == found capi with omsn = 010xxxxxx
  == CAPI Call CAPI[contr1/010xxxxxx]/80 with B3    -- creating pipe for
PLCI=-1
    -- CONNECT_CONF ID=003 #0x0844 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- CONNECT_CONF ID=003 #0x0844 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

  == received CONNECT_CONF PLCI = 0x101 INFO = 0
       > sent CONNECT_REQ MN =0x844
    -- Called 010xxxxxx:b0478xxxxxx
    -- INFO_IND ID=003 #0x811c LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8002
  InfoElement                     = default

    -- INFO_IND ID=003 #0x811c LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8002
  InfoElement                     = default

       > sent INFO_RESP (PLCI=0x101)
    -- INFO_IND ID=003 #0x811d LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

    -- INFO_IND ID=003 #0x811d LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

       > sent INFO_RESP (PLCI=0x101)
    -- INFO_IND ID=003 #0x811e LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8001
  InfoElement                     = default

    -- INFO_IND ID=003 #0x811e LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8001
  InfoElement                     = default

       > sent INFO_RESP (PLCI=0x101)
    -- CAPI[contr1/010xxxxxx]/80 is ringing
<-------------------- I hear the ringtone here
    -- INFO_IND ID=003 #0x811f LEN=0020
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x29
  InfoElement                     = <05 07 0f 0a>6

    -- INFO_IND ID=003 #0x811f LEN=0020
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x29
  InfoElement                     = <05 07 0f 0a>6

       > sent INFO_RESP (PLCI=0x101)
    -- CONNECT_ACTIVE_IND ID=003 #0x8120 LEN=0028
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = <11 83>32478540441
  ConnectedSubaddress             = default
  LLC                             = default

    -- CONNECT_ACTIVE_IND ID=003 #0x8120 LEN=0028
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = <11 83>32478540441
  ConnectedSubaddress             = default
  LLC                             = default

       > sent CONNECT_ACTIVE_RESP (PLCI=0x101)
    -- sent CONNECT_B3_REQ (PLCI=0x101)
    -- CONNECT_B3_CONF ID=003 #0x0845 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

    -- CONNECT_B3_CONF ID=003 #0x0845 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

    -- CONNECT_B3_ACTIVE_IND ID=003 #0x8121 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

    -- CONNECT_B3_ACTIVE_IND ID=003 #0x8121 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

       > sent CONNECT_B3_ACTIVE_RESP (NCCI=0x10101)
    -- CAPI[contr1/010xxxxxx]/80 answered SIP/200-837b
    -- DATA_B3_IND ID=003 #0x8122 LEN=0030
  Controller/PLCI/NCCI            = 0x10101
  Data32                          = 0xb79f39fe
  DataLength                      = 0xa0
  DataHandle                      = 0x0
  Flags                           = 0x0
  Data64                          = 0x0

.............
       > sent DATA_B3_RESP (NCCI=0x10101)
    -- DATA_B3_IND ID=003 #0x8143 LEN=0030
  Controller/PLCI/NCCI            = 0x10101
  Data32                          = 0xb79f39fe
  DataLength                      = 0xa0
  DataHandle                      = 0x1
  Flags                           = 0x0
  Data64                          = 0x0

       > sent DATA_B3_RESP (NCCI=0x10101)
    -- DATA_B3_CONF ID=003 #0x0861 LEN=0016
  Controller/PLCI/NCCI            = 0x10101
  DataHandle                      = 0x6fe
  Info                            = 0x0

    -- DATA_B3_CONF ID=003 #0x0861 LEN=0016
  Controller/PLCI/NCCI            = 0x10101
  DataHandle                      = 0x6fe
  Info                            = 0x0

    -- DATA_B3_IND ID=003 #0x8144 LEN=0030
  Controller/PLCI/NCCI            = 0x10101
  Data32                          = 0xb79f39fe
  DataLength                      = 0xa0
  DataHandle                      = 0x0
  Flags                           = 0x0
  Data64                          = 0x0

       > sent DATA_B3_RESP (NCCI=0x10101)
    -- CAPI Hangingup
       > activehangingup
       > sent DISCONNECT_B3_REQ NCCI=0x10101
    -- DISCONNECT_B3_CONF ID=003 #0x0862 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

    -- DISCONNECT_B3_CONF ID=003 #0x0862 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

    -- DISCONNECT_B3_IND ID=003 #0x8145 LEN=0015
  Controller/PLCI/NCCI            = 0x10101
  Reason_B3                       = 0x0
  NCPI                            = default

  == DISCONNECT_B3_IND NCCI=0x10101
       > sent DISCONNECT_B3_RESP NCCI=0x10101
       > sent DISCONNECT_REQ PLCI=0x101
    -- DISCONNECT_CONF ID=003 #0x0863 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- DISCONNECT_CONF ID=003 #0x0863 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- DISCONNECT_IND ID=003 #0x8146 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3400

  == DISCONNECT_IND PLCI=0x101 REASON=0x3400
       > sent DISCONNECT_RESP PLCI=0x101
    -- removed pipe for PLCI = 0x101
  == Spawn extension (intern, 00478xxxxxx, 1) exited non-zero on
'SIP/200-837b'
----------------------------------------------------------------------------
---------------------------------------------------

International :

----------------------------------------------------------------------------
---------------------------------------------------
    -- Executing Dial("SIP/200-2cd7", "CAPI/010xxxxxx:b0033xxxxxxxxx|30") in
new stack
    -- data = 010xxxxxx:b0033xxxxxxxxx
    -- capi request omsn = 010xxxxxx
  == found capi with omsn = 010xxxxxx
  == CAPI Call CAPI[contr1/010xxxxxx]/79 with B3    -- creating pipe for
PLCI=-1
    -- CONNECT_CONF ID=003 #0x07d3 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- CONNECT_CONF ID=003 #0x07d3 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

  == received CONNECT_CONF PLCI = 0x101 INFO = 0
       > sent CONNECT_REQ MN =0x7d3
    -- Called 010xxxxxx:b0033xxxxxxxxx
    -- INFO_IND ID=003 #0x80a1 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x800d
  InfoElement                     = default

    -- INFO_IND ID=003 #0x80a1 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x800d
  InfoElement                     = default

       > sent INFO_RESP (PLCI=0x101)
    -- INFO_IND ID=003 #0x80a2 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

    -- INFO_IND ID=003 #0x80a2 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

       > sent INFO_RESP (PLCI=0x101)
    -- CAPI[contr1/010xxxxxx]/79 is making progress passing it to
SIP/200-2cd7
    -- INFO_IND ID=003 #0x80a3 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8002
  InfoElement                     = default

    -- INFO_IND ID=003 #0x80a3 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8002
  InfoElement                     = default

       > sent INFO_RESP (PLCI=0x101)
    -- INFO_IND ID=003 #0x80a4 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8001
  InfoElement                     = default

    -- INFO_IND ID=003 #0x80a4 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8001
  InfoElement                     = default

       > sent INFO_RESP (PLCI=0x101)
    -- CAPI[contr1/010xxxxxx]/79 is ringing
<------------------ Nothing here
    -- INFO_IND ID=003 #0x80a5 LEN=0020
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x29
  InfoElement                     = <05 07 0f 0a>6

    -- INFO_IND ID=003 #0x80a5 LEN=0020
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x29
  InfoElement                     = <05 07 0f 0a>6

       > sent INFO_RESP (PLCI=0x101)
    -- CONNECT_ACTIVE_IND ID=003 #0x80a6 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = <00 c3>
  ConnectedSubaddress             = default
  LLC                             = default

    -- CONNECT_ACTIVE_IND ID=003 #0x80a6 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = <00 c3>
  ConnectedSubaddress             = default
  LLC                             = default

       > sent CONNECT_ACTIVE_RESP (PLCI=0x101)
    -- sent CONNECT_B3_REQ (PLCI=0x101)
    -- CONNECT_B3_CONF ID=003 #0x07d4 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

    -- CONNECT_B3_CONF ID=003 #0x07d4 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

    -- CONNECT_B3_ACTIVE_IND ID=003 #0x80a7 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

    -- CONNECT_B3_ACTIVE_IND ID=003 #0x80a7 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

       > sent CONNECT_B3_ACTIVE_RESP (NCCI=0x10101)
    -- CAPI[contr1/010xxxxxx]/79 answered SIP/200-2cd7
    -- DATA_B3_IND ID=003 #0x80a8 LEN=0030
  Controller/PLCI/NCCI            = 0x10101
  Data32                          = 0xb79f39fe
  DataLength                      = 0xa0
  DataHandle                      = 0x0
  Flags                           = 0x0
  Data64                          = 0x0

       > sent DATA_B3_RESP (NCCI=0x10101)
       > sent DATA_B3_REQ (NCCI=0x10101) (160 bytes)
    -- DATA_B3_IND ID=003 #0x80a9 LEN=0030
  Controller/PLCI/NCCI            = 0x10101
  Data32                          = 0xb79f39fe
  DataLength                      = 0xa0
  DataHandle                      = 0x1
  Flags                           = 0x0
  Data64                          = 0x0

       > sent DATA_B3_RESP (NCCI=0x10101)
.............
       > sent DATA_B3_RESP (NCCI=0x10101)
    -- DATA_B3_IND ID=003 #0x8119 LEN=0030
  Controller/PLCI/NCCI            = 0x10101
  Data32                          = 0xb79f39fe
  DataLength                      = 0xa0
  DataHandle                      = 0x1
  Flags                           = 0x0
  Data64                          = 0x0

       > sent DATA_B3_RESP (NCCI=0x10101)
    -- CAPI Hangingup
       > activehangingup
       > sent DISCONNECT_B3_REQ NCCI=0x10101
    -- DISCONNECT_B3_CONF ID=003 #0x0842 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

    -- DISCONNECT_B3_CONF ID=003 #0x0842 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

    -- DISCONNECT_B3_IND ID=003 #0x811a LEN=0015
  Controller/PLCI/NCCI            = 0x10101
  Reason_B3                       = 0x0
  NCPI                            = default

  == DISCONNECT_B3_IND NCCI=0x10101
       > sent DISCONNECT_B3_RESP NCCI=0x10101
       > sent DISCONNECT_REQ PLCI=0x101
    -- DISCONNECT_CONF ID=003 #0x0843 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- DISCONNECT_CONF ID=003 #0x0843 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- DISCONNECT_IND ID=003 #0x811b LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3400

  == DISCONNECT_IND PLCI=0x101 REASON=0x3400
       > sent DISCONNECT_RESP PLCI=0x101
    -- removed pipe for PLCI = 0x101
  == Spawn extension (intern, 00033xxxxxxxxx, 1) exited non-zero on
'SIP/200-2cd7'
----------------------------------------------------------------------------
---------------------------------------------------

Does anyone have an idea about what's wrong?

Thank you,

Regards,

Cyrille




More information about the asterisk-users mailing list