[Asterisk-Users] Asterisk + GnuGK :::: Unreachable Destination.

Carlos Maynard carlos at hottelephone.com
Tue Sep 21 14:53:37 MST 2004


Hello again.

I'm stll struggling trying to terminate calls from SIP through Asterisk 
and throught my H323 gateways...

Basically the call is accepted by GnuGK but then dropped with
*reason = unreachableDestination <<null>>*

I did a *debug trc 10* on GnuGK and looked at the sessions... one from 
X-Lite through Asterisk... and one from OpenPhone... The one from 
OpenPhone works fine.

And i found something on the beginning of the session...

Here's the session from OpenPhone:

2004/09/21 14:52:35.219 2             RasSrv.cxx(2224)  GK      Read 
from 216.119.135.3:2367
2004/09/21 14:52:35.223 3             RasSrv.cxx(2237)  GK
admissionRequest {
    requestSeqNum = 40386
    callType = pointToPoint <<null>>
    endpointIdentifier =  9 characters {
      0032 0031 0032 0033 005f 0065 006e 0064   2123_end
      0070                                      p
    }
    destinationInfo = 1 entries {
      [0]=dialedDigits "835218329287863"
    }
    srcInfo = 2 entries {
      [0]=h323_ID  9 characters {
        0063 0061 0072 006c 006f 0073 005f 0070   carlos_p
        0063                                      c
      }
      [1]=dialedDigits "30021"
    }
    bandWidth = 200000
    callReferenceValue = 17675
    conferenceID =  16 octets {
      00 24 5d 85 19 f1 18 10  9b f8 00 06 5b b9 56 9c   .$].........[.V.
    }
    activeMC = FALSE
    answerCall = FALSE
    canMapAlias = TRUE
    callIdentifier = {
      guid =  16 octets {
        00 24 5d 85 19 f1 18 10  9b f7 00 06 5b b9 56 9c   .$].........[.V.
      }
    }
    gatekeeperIdentifier =  12 characters {
      0074 0065 006c 0063 006f 006e 0063 0065   telconce
      0070 0074 0067 006b                       ptgk
    }
    tokens = 1 entries {
      [0]={
        tokenOID = 1.2.840.113548.10.1.2.1
        timeStamp = 1095799950
        challenge =  16 octets {
          15 d3 61 d8 1b 70 05 6b  63 89 69 bc d6 15 3e f2   
..a..p.kc.i...>.
        }
        random = 104
        generalID =  10 characters {
          0063 0061 0072 006c 006f 0073 005f 0070   carlos_p
          0063 0000                                 c
        }
      }
    }
    willSupplyUUIEs = TRUE
  }
2004/09/21 14:52:35.225 1             RasSrv.cxx(1321)  GK      ARQ Received
2004/09/21 14:52:35.225 4             gkauth.cxx(319)   GkAuth  default 
check ok
2004/09/21 14:52:35.226 2             RasTbl.cxx(552)   Gateway 
2106_endp match 8352
2004/09/21 14:52:35.227 4             RasTbl.cxx(904)   Alias match for 
GW 67.107.77.143:1720
2004/09/21 14:52:35.227 3             RasSrv.cxx(1585)  GK      ARQ will 
request bandwith of 200000
2004/09/21 14:52:35.229 2             RasTbl.cxx(1885)  
CallTable::Insert(CALL) Call No. 27, total sessions : 1
2004/09/21 14:52:35.230 2             RasSrv.cxx(1696)  
ACF|192.168.0.31:1720|2123_endp|17675|835218329287863:dialedDigits|carlos_pc:h323_ID=30021:dialedDigits|false;



Please note
*2004/09/21 14:52:35.226 2             RasTbl.cxx(552)   Gateway 
2106_endp match 8352
2004/09/21 14:52:35.227 4             RasTbl.cxx(904)   Alias match for 
GW 67.107.77.143:1720*




Now... a session from X-Lite + Asterisk...

2004/09/21 15:23:13.603 2             RasSrv.cxx(2224)  GK      Read 
from 24.242.220.181:33281
2004/09/21 15:23:13.607 3             RasSrv.cxx(2237)  GK
admissionRequest {
    requestSeqNum = 34633
    callType = pointToPoint <<null>>
    endpointIdentifier =  9 characters {
      0032 0031 0031 0038 005f 0065 006e 0064   2118_end
      0070                                      p
    }
    destinationInfo = 1 entries {
      [0]=dialedDigits "835218329287863"
    }
    destCallSignalAddress = ipAddress {
      ip =  4 octets {
        42 76 ee c6                                        Bv..
      }
      port = 1720
    }
    srcInfo = 1 entries {
      [0]=dialedDigits "4401"
    }
    bandWidth = 100000
    callReferenceValue = 31547
    conferenceID =  16 octets {
      52 ee af 58 81 0a d9 11  99 f2 00 0c f1 e6 ce 45   R..X...........E
    }
    activeMC = FALSE
    answerCall = FALSE
    canMapAlias = TRUE
    callIdentifier = {
      guid =  16 octets {
        34 ee af 58 81 0a d9 11  99 f2 00 0c f1 e6 ce 45   4..X...........E
      }
    }
    gatekeeperIdentifier =  12 characters {
      0074 0065 006c 0063 006f 006e 0063 0065   telconce
      0070 0074 0067 006b                       ptgk
    }
    willSupplyUUIEs = TRUE
  }
2004/09/21 15:23:13.608 1             RasSrv.cxx(1321)  GK      ARQ Received
2004/09/21 15:23:13.609 4             gkauth.cxx(319)   GkAuth  default 
check ok
2004/09/21 15:23:13.614 3             RasSrv.cxx(1585)  GK      ARQ will 
request bandwith of 100000
2004/09/21 15:23:13.616 2             RasTbl.cxx(1885)  
CallTable::Insert(CALL) Call No. 29, total sessions : 1
2004/09/21 15:23:13.616 2             RasSrv.cxx(1696)  
ACF|192.168.0.50:1720|2118_endp|31547|835218329287863:dialedDigits|4401:dialedDigits|false;


The call is accepted... (ACF) but there's no matching endpoint.

Anyone has a clue as to what can be causing it ? the AdmissionRequests 
are a lil different but i don't have a clue what is the key difference 
and how to make asterisk comply.

Any ideas are appreciated.

Regards,

Carlos Maynard Jr.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040921/6824fe03/attachment.htm


More information about the asterisk-users mailing list