Route incoming call to endpoint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!
 
I'm new to H323 and GNUGK and I need some help.
 
I have a telephone number from my provider via H.323. Openphone and MyPhone works fine, but I need to route all incoming calls to my gatekeeper and then to endpoint, which registers to my GK.
My GNUGK registers as endpoint to parent GK:
 
[Endpoint]
Gatekeeper=xx.yy.zz.bb
H323ID=1111@9a8sdf98d
Type=Terminal
Vendor=Cisco
Discovery=0
UnregisterOnReload=1
 
I use MyPhone as internal endpoint. I tried to call this telephone number and I got:
 
2008/06/30 23:21:13.311 3 ProxyChannel.cxx(899) Q931s Received: Setup CRV=2381 from xx.yy.zz.bb:2139
2008/06/30 23:21:13.311 3       gkauth.cxx(1067) GKAUTH default Setup check ok
2008/06/30 23:21:13.311 3       RasSrv.cxx(252) RAS Send to xx.yy.zz.bb:1719
admissionRequest {
    requestSeqNum = 2
    callType = pointToPoint <<null>>
    endpointIdentifier =  7 characters {
      0038 0034 0030 0061 0066 0030 0030        840af00
    }
    destinationInfo = 1 entries {
      [0]=dialedDigits "1602"
    }
    srcInfo = 1 entries {
      [0]=h323_ID  6 characters {
        0041 0053 0035 0033 0030 0030             AS5300
      }
    }
    srcCallSignalAddress = ipAddress {
      ip =  4 octets {
        54 16 84 93                                        T...
      }
      port = 1721
    }
    bandWidth = 1280
    callReferenceValue = 2381
    nonStandardData = {
      nonStandardIdentifier = h221NonStandard {
        t35CountryCode = 181
        t35Extension = 0
        manufacturerCode = 18
      }
      data ="" 3 octets {
        00 00 00                                           ...
      }
    }
    conferenceID =  16 octets {
      e1 4d 9f 49 45 ee 11 dd  bc 4e dc bf ab ba ca af   .M.IE....N......
    }
    activeMC = FALSE
    answerCall = TRUE
    canMapAlias = TRUE
    callIdentifier = {
      guid =  16 octets {
        e1 4e 3b 71 45 ee 11 dd  bc 50 dc bf ab ba ca af   .N;qE....P......
      }
    }
    gatekeeperIdentifier =  0 characters {
    }
    willSupplyUUIEs = FALSE
    canMapSrcAlias = FALSE
  }
2008/06/30 23:21:18.311 3       RasSrv.cxx(252) RAS Send to xx.yy.zz.bb:1719
admissionRequest {
    requestSeqNum = 2
    callType = pointToPoint <<null>>
    endpointIdentifier =  7 characters {
      0038 0034 0030 0061 0066 0030 0030        840af00
    }
    destinationInfo = 1 entries {
      [0]=dialedDigits "1602"
    }
    srcInfo = 1 entries {
      [0]=h323_ID  6 characters {
        0041 0053 0035 0033 0030 0030             AS5300
      }
    }
    srcCallSignalAddress = ipAddress {
      ip =  4 octets {
        54 16 84 93                                        T...
      }
      port = 1721
    }
    bandWidth = 1280
    callReferenceValue = 2381
    nonStandardData = {
      nonStandardIdentifier = h221NonStandard {
        t35CountryCode = 181
        t35Extension = 0
        manufacturerCode = 18
      }
      data ="" 3 octets {
        00 00 00                                           ...
      }
    }
    conferenceID =  16 octets {
      e1 4d 9f 49 45 ee 11 dd  bc 4e dc bf ab ba ca af   .M.IE....N......
    }
    activeMC = FALSE
    answerCall = TRUE
    canMapAlias = TRUE
    callIdentifier = {
      guid =  16 octets {
        e1 4e 3b 71 45 ee 11 dd  bc 50 dc bf ab ba ca af   .N;qE....P......
      }
    }
    gatekeeperIdentifier =  0 characters {
    }
    willSupplyUUIEs = FALSE
    canMapSrcAlias = FALSE
  }
2008/06/30 23:21:23.311 3       RasSrv.cxx(252) RAS Send to xx.yy.zz.bb:1719
admissionRequest {
    requestSeqNum = 2
    callType = pointToPoint <<null>>
    endpointIdentifier =  7 characters {
      0038 0034 0030 0061 0066 0030 0030        840af00
    }
    destinationInfo = 1 entries {
      [0]=dialedDigits "1602"
    }
    srcInfo = 1 entries {
      [0]=h323_ID  6 characters {
        0041 0053 0035 0033 0030 0030             AS5300
      }
    }
    srcCallSignalAddress = ipAddress {
      ip =  4 octets {
        54 16 84 93                                        T...
      }
      port = 1721
    }
    bandWidth = 1280
    callReferenceValue = 2381
    nonStandardData = {
      nonStandardIdentifier = h221NonStandard {
        t35CountryCode = 181
        t35Extension = 0
        manufacturerCode = 18
      }
      data ="" 3 octets {
        00 00 00                                           ...
      }
    }
    conferenceID =  16 octets {
      e1 4d 9f 49 45 ee 11 dd  bc 4e dc bf ab ba ca af   .M.IE....N......
    }
    activeMC = FALSE
    answerCall = TRUE
    canMapAlias = TRUE
    callIdentifier = {
      guid =  16 octets {
        e1 4e 3b 71 45 ee 11 dd  bc 50 dc bf ab ba ca af   .N;qE....P......
      }
    }
    gatekeeperIdentifier =  0 characters {
    }
    willSupplyUUIEs = FALSE
    canMapSrcAlias = FALSE
  }
2008/06/30 23:21:28.311 2 ProxyChannel.cxx(1823) Q931s Got ARJ from parent for xx.yy.zz.bb:2139
2008/06/30 23:21:28.311 2       RasTbl.cxx(2656) CallTable::Insert(CALL) Call No. 1, total sessions : 1
2008/06/30 23:21:28.311 2       gkacct.cxx(1028) GKACCT Successfully logged event 1 for call no. 1
2008/06/30 23:21:28.311 2       RasTbl.cxx(3063) CDR ignore not connected call
2008/06/30 23:21:28.311 2       gkacct.cxx(1028) GKACCT Successfully logged event 2 for call no. 1
2008/06/30 23:21:28.311 3       RasSrv.cxx(252) RAS Send to xx.yy.zz.bb:1719
disengageRequest {
    requestSeqNum = 3
    endpointIdentifier =  7 characters {
      0038 0034 0030 0061 0066 0030 0030        840af00
    }
    conferenceID =  16 octets {
      e1 4d 9f 49 45 ee 11 dd  bc 4e dc bf ab ba ca af   .M.IE....N......
    }
    callReferenceValue = 35149
    disengageReason = normalDrop <<null>>
    callIdentifier = {
      guid =  16 octets {
        e1 4e 3b 71 45 ee 11 dd  bc 50 dc bf ab ba ca af   .N;qE....P......
      }
    }
    gatekeeperIdentifier =  0 characters {
    }
    answeredCall = TRUE
  }
2008/06/30 23:21:31.311 3       RasSrv.cxx(252) RAS Send to xx.yy.zz.bb:1719
disengageRequest {
    requestSeqNum = 3
    endpointIdentifier =  7 characters {
      0038 0034 0030 0061 0066 0030 0030        840af00
    }
    conferenceID =  16 octets {
      e1 4d 9f 49 45 ee 11 dd  bc 4e dc bf ab ba ca af   .M.IE....N......
    }
    callReferenceValue = 35149
    disengageReason = normalDrop <<null>>
    callIdentifier = {
      guid =  16 octets {
        e1 4e 3b 71 45 ee 11 dd  bc 50 dc bf ab ba ca af   .N;qE....P......
      }
    }
    gatekeeperIdentifier =  0 characters {
    }
    answeredCall = TRUE
  }
2008/06/30 23:21:34.311 3       RasSrv.cxx(252) RAS Send to xx.yy.zz.bb:1719
disengageRequest {
    requestSeqNum = 3
    endpointIdentifier =  7 characters {
      0038 0034 0030 0061 0066 0030 0030        840af00
    }
    conferenceID =  16 octets {
      e1 4d 9f 49 45 ee 11 dd  bc 4e dc bf ab ba ca af   .M.IE....N......
    }
    callReferenceValue = 35149
    disengageReason = normalDrop <<null>>
    callIdentifier = {
      guid =  16 octets {
        e1 4e 3b 71 45 ee 11 dd  bc 50 dc bf ab ba ca af   .N;qE....P......
      }
    }
    gatekeeperIdentifier =  0 characters {
    }
    answeredCall = TRUE
  }
2008/06/30 23:21:37.311 3     yasocket.cxx(577) Q931s Delete socket xx.yy.zz.bb:2139
2008/06/30 23:21:37.686 3       RasTbl.cxx(1874) Gk Delete Call No. 1
 
My config:
 
[Gatekeeper::Main]
FortyTwo=42
Name=ITLGk
EndpointSuffix=_GnuGk
TimeToLive=60
StatusTraceLevel=0
UseBroadcastListener=0
UseMulticastListener=0
UnicastRasPort=1719
ExternalIP=aa.bb.cc.dd
ExternalIsDynamic=0
Home=10.168.0.11;127.0.0.1
 

[GkStatus::Auth]
rule=explicit
127.0.0.1=allow
default=forbid
Shutdown=allow
 
[Gatekeeper::Auth]
default=allow
 
[SimplePasswordAuth]
 
[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1721
AcceptNeighborCalls=1
AcceptUnregisteredCalls=1
TreatUnregisteredNAT=1
RemoveH245AddressOnTunneling=1
RemoveCallOnDRQ=0
DropCallsByReleaseComplete=1
SendReleaseCompleteOnDRQ=0
SupportNATedEndpoints=1
SupportCallingNATedEndpoints=1
TranslateFacility=1
Q931PortRange=30000-30999
H245PortRange=31000-31999
 

[Proxy]
Enable=1
ProxyForNAT=1
ProxyForSameNAT=1
T120PortRange=50000-59999
RTPPortRange=50000-59999
 

[RasSrv::ARQFeatures]
CallUnregisteredEndpoints=1
 
[Endpoint]
Gatekeeper=xx.yy.zz.bb
H323ID=1111@9a8sdf98d
Type=Terminal
Vendor=Cisco
Discovery=0
UnregisterOnReload=1
 
What am I doing wrong?
 
 
Thanks,
Dmitriy
 
P.S. Sorry for my bad English...
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux