Re: Neighbors and Gateways

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

 



Robert Kulagowski wrote:
> Jan Willamowius wrote:
>> Try to define the prefix directly at the permanent endpoint:
>>
>> [RasSrv::PermanentEndpoints]
>> 10.244.57.5=london;971
> 
> Thanks.  That worked.  Not sure why the other way didn't.
> 
> If I want to make London the hop-off location for any country code 
> that's not "1", then this should work?
> 
> [RasSrv::PermanentEndpoints]
> 10.23.10.222=gatekeeper-monitoring-check
> 10.244.57.5=london;!1
> 
> And likewise, I could configure NY and Chicago to be the hop-off for a 
> dialed number that starts with "1"?
> 
> 10.244.22.5=chi;1
> 10.244.2.5=ny;1:=2
> 
> and ny will be the second choice?
> 
>> Also, it doesn't make sense to have any policies after CatchAll; they
>> will never be reached.
> 
> Yes, just a thinko because I was trying to get it to work...

Hrmm, still not doing what I'd like.

The Philadelphia site has a Codian 3241 which is neighbored with GnuGK.
The gatekeeper.ini looks like this:
[RasSrv::Neighbors]
ny=GnuGK
lon=GnuGK
phi=GnuGK
cfo=GnuGK

[Neighbor::ny]
GatekeeperIdentifier=ny
Host=10.244.2.5
SendPrefixes=1,31,1212,1646
;SendPrefixes=*
AcceptPrefixes=1,001
ForwardLRQ=depends

[Neighbor::cfo]
GatekeeperIdentifier=cfo
Host=10.244.22.5
SendPrefixes=1,1312,1630,21
;SendPrefixes=*
AcceptPrefixes=*
ForwardLRQ=depends

[Neighbor::phi]
GatekeeperIdentifier=phi
host=10.244.4.5
SendPrefixes=1215
AcceptPrefixes=*
ForwardLRQ=depends

[Neighbor::lon]
GatekeeperIdentifier=lon
Host=10.244.57.5
SendPrefixes=011,*
AcceptPrefixes=*
ForwardLRQ=depends

[RasSrv::PermanentEndpoints]
10.23.10.222=gatekeeper-monitoring-check
10.244.57.5=london;!1
10.244.22.5=chi;1
10.244.2.5=ny;1:=2
10.244.4.5=phi;1215

The Codian 3241 in Philadelphia has two endpoints: 12154467610 and 12154467620.

If I dial 12154467620 from a unit which is registered with GnuGK, what I 
see is that GnuGK sends out 3 LRQs, and the first answer it gets back is 
from the GK in New York, not Philadelphia, and therefore the call goes out 
ISDN from NY to Philadelphia rather than H.323 from my EP to the EP in 
Philadelphia.

Starting at timestamp 2009/12/16 13:16:47.774 the GK says that it's reading 
a response from 10.244.2.5 (which is NY), which it then parses into a LCF 
for neighbor phi (which is 10.244.4.5, not 10.244.2.5?).  Should the 
requestSeqNum sent in the LRQ be unique for each of the neighbors, so that 
the LCF that comes back is associated with the correct neighbor?

Should "SendPrefix" only be used for endpoint identifiers that are directly 
registered, (so that NY wouldn't have just a "1", because the endpoints 
that are at that location would all register with the local GK in NY as 
"1212{foo}"?) and PermanentEndpoints is then used to indicate how calls 
should be routed for IP-to-ISDN?


Version:
Gatekeeper(GNU) Version(2.3.1) 
Ext(pthreads=1,radius=1,mysql=1,pgsql=0,firebird=0,odbc=0,sqlite=0,large_fdset=0,crypto/ssl=1,h46018=1,h46023=1) 
Build(Oct  7 2009, 16:01:15) Sys(Linux i686 2.6.31-16-generic)
Startup: Tue, 08 Dec 2009 12:40:05 -0600   Running: 8 days 01:01:21


2009/12/16 13:16:47.740 4             RasSrv.cxx(216)   RAS     Receiving 
on 10.23.10.222:1719(U)
2009/12/16 13:16:47.740 2             RasSrv.cxx(175)   RAS     Read from 
10.244.22.21:1719
2009/12/16 13:16:47.740 3             RasSrv.cxx(224)   RAS
admissionRequest {
     requestSeqNum = 1504
     callType = pointToPoint <<null>>
     callModel = gatekeeperRouted <<null>>
     endpointIdentifier =  9 characters {
       0039 0036 0032 0035 005f 0065 006e 0064   9625_end
       0070                                      p
     }
     destinationInfo = 1 entries {
       [0]=dialedDigits "12154467620"
     }
     srcInfo = 2 entries {
       [0]=h323_ID  24 characters {
         0063 0066 006f 002d 0074 0061 0040 0073   cfo-ta@
         0070 0065 006e 0063 0065 0072 0073 0074
         0075 0061 0072 0074 002e 0063 006f 006d
       }
       [1]=dialedDigits "13122455120"
     }
     bandWidth = 81920
     callReferenceValue = 1518
     conferenceID =  16 octets {
       02 2f 62 7b 09 f8 1b cb  28 93 68 81 26 67 14 bd   ./b{....(.h.&g..
     }
     activeMC = false
     answerCall = false
     canMapAlias = true
     callIdentifier = {
       guid =  16 octets {
         02 2f 62 7b 09 f8 1b cb  28 92 68 81 26 67 14 bd   ./b{....(.h.&g..
       }
     }
     gatekeeperIdentifier =  5 characters {
       0047 006e 0075 0047 006b                  GnuGk
     }
     willSupplyUUIEs = false
     featureSet = {
       replacementFeatureSet = false
       supportedFeatures = 1 entries {
         [0]={
           id = standard 9
         }
       }
     }
   }
2009/12/16 13:16:47.741 5                job.cxx(364)   JOB     Worker 
threads: 11 total - 10 busy, 1 idle
2009/12/16 13:16:47.741 5                job.cxx(190)   JOB     Starting 
Job ARQ at Worker thread 3052026736
2009/12/16 13:16:47.741 1             RasSrv.cxx(354)   RAS     ARQ 
Received from 10.244.22.21:1719
2009/12/16 13:16:47.741 3             RasSrv.cxx(2536)  GK      ARQ will 
request bandwith of 81920
2009/12/16 13:16:47.741 5              Routing.h(177)   ROUTING Checking 
policy Explicit for the request ARQ 1504
2009/12/16 13:16:47.741 5              Routing.h(177)   ROUTING Checking 
policy Neighbor for the request ARQ 1504
2009/12/16 13:16:47.741 3             RasSrv.cxx(236)   RAS     Send to 
10.244.57.5:1719
locationRequest {
     requestSeqNum = 1543
     destinationInfo = 1 entries {
       [0]=dialedDigits "12154467620"
     }
     nonStandardData = {
       nonStandardIdentifier = h221NonStandard {
         t35CountryCode = 138
         t35Extension = 1
         manufacturerCode = 2
       }
       data =  3 octets {
         6c 6f 6e                                           lon
       }
     }
     replyAddress = ipAddress {
       ip =  4 octets {
         0a 17 0a de                                        ....
       }
       port = 1719
     }
     sourceInfo = 2 entries {
       [0]=h323_ID  24 characters {
         0063 0066 006f 002d 0074 0061 0040 0073   cfo-ta@
         0070 0065 006e 0063 0065 0072 0073 0074
         0075 0061 0072 0074 002e 0063 006f 006d
       }
       [1]=dialedDigits "13122455120"
     }
     canMapAlias = true
     gatekeeperIdentifier =  5 characters {
       0047 006e 0075 0047 006b                  GnuGk
     }
     genericData = 2 entries {
       [0]={
         id = standard 24
       }
       [1]={
         id = oid 1.3.6.1.4.1.17090.0.9
       }
     }
     canMapSrcAlias = false
   }
2009/12/16 13:16:47.741 5             RasSrv.cxx(250)   RAS     Sent Successful
2009/12/16 13:16:47.741 3             RasSrv.cxx(236)   RAS     Send to 
10.244.2.5:1719
locationRequest {
     requestSeqNum = 1543
     destinationInfo = 1 entries {
       [0]=dialedDigits "12154467620"
     }
     nonStandardData = {
       nonStandardIdentifier = h221NonStandard {
         t35CountryCode = 138
         t35Extension = 1
         manufacturerCode = 2
       }
       data =  2 octets {
         6e 79                                              ny
       }
     }
     replyAddress = ipAddress {
       ip =  4 octets {
         0a 17 0a de                                        ....
       }
       port = 1719
     }
     sourceInfo = 2 entries {
       [0]=h323_ID  24 characters {
         0063 0066 006f 002d 0074 0061 0040 0073   cfo-ta@
         0070 0065 006e 0063 0065 0072 0073 0074
         0075 0061 0072 0074 002e 0063 006f 006d
       }
       [1]=dialedDigits "13122455120"
     }
     canMapAlias = true
     gatekeeperIdentifier =  5 characters {
       0047 006e 0075 0047 006b                  GnuGk
     }
     genericData = 2 entries {
       [0]={
         id = standard 24
       }
       [1]={
         id = oid 1.3.6.1.4.1.17090.0.9
       }
     }
     canMapSrcAlias = false
   }
2009/12/16 13:16:47.742 5             RasSrv.cxx(250)   RAS     Sent Successful
2009/12/16 13:16:47.742 3             RasSrv.cxx(236)   RAS     Send to 
10.244.4.5:1719
locationRequest {
     requestSeqNum = 1543
     destinationInfo = 1 entries {
       [0]=dialedDigits "12154467620"
     }
     nonStandardData = {
       nonStandardIdentifier = h221NonStandard {
         t35CountryCode = 138
         t35Extension = 1
         manufacturerCode = 2
       }
       data =  3 octets {
         70 68 69                                           phi
       }
     }
     replyAddress = ipAddress {
       ip =  4 octets {
         0a 17 0a de                                        ....
       }
       port = 1719
     }
     sourceInfo = 2 entries {
       [0]=h323_ID  24 characters {
         0063 0066 006f 002d 0074 0061 0040 0073   cfo-ta@
         0070 0065 006e 0063 0065 0072 0073 0074
         0075 0061 0072 0074 002e 0063 006f 006d
       }
       [1]=dialedDigits "13122455120"
     }
     canMapAlias = true
     gatekeeperIdentifier =  5 characters {
       0047 006e 0075 0047 006b                  GnuGk
     }
     genericData = 2 entries {
       [0]={
         id = standard 24
       }
       [1]={
         id = oid 1.3.6.1.4.1.17090.0.9
       }
     }
     canMapSrcAlias = false
   }
2009/12/16 13:16:47.742 5             RasSrv.cxx(250)   RAS     Sent Successful
2009/12/16 13:16:47.742 2           Neighbor.cxx(892)   NB      3 LRQ(s) sent
2009/12/16 13:16:47.774 4             RasSrv.cxx(216)   RAS     Receiving 
on 10.23.10.222:1719(U)
2009/12/16 13:16:47.774 2             RasSrv.cxx(175)   RAS     Read from 
10.244.2.5:1719
2009/12/16 13:16:47.774 3             RasSrv.cxx(224)   RAS
locationConfirm {
     requestSeqNum = 1543
     callSignalAddress = ipAddress {
       ip =  4 octets {
         0a f4 02 05                                        ....
       }
       port = 1720
     }
     rasAddress = ipAddress {
       ip =  4 octets {
         0a f4 02 05                                        ....
       }
       port = 1719
     }
   }
2009/12/16 13:16:47.774 2             RasSrv.cxx(1379)  RAS     Trapped LCF
2009/12/16 13:16:47.774 5           Neighbor.cxx(939)   NB      Received 
LCF message matched pending LRQ for neighbor phi:10.244.4.5
2009/12/16 13:16:47.774 5              Routing.h(183)   ROUTING Policy 
Neighbor applied to the request ARQ 1504
2009/12/16 13:16:47.775 2             RasTbl.cxx(3309) 
CallTable::Insert(CALL) Call No. 219, total sessions : 3
2009/12/16 13:16:47.775 4             RasSrv.cxx(2711)  RAS     NAT 
strategy for Call No: 219 set to Unknown Strategy
2009/12/16 13:16:47.775 2             RasSrv.cxx(394) 
ACF|10.244.22.21:1720|9625_endp|1518|12154467620:dialedDigits|cfo-ta@:h323_ID=13122455120:dialedDigits|false|02-2f-62-7b-09-f8-1b-cb-28-92-68-81-26-67-14-bd;
2009/12/16 13:16:47.775 3             RasSrv.cxx(236)   RAS     Send to 
10.244.22.21:1719
admissionConfirm {
     requestSeqNum = 1504
     bandWidth = 81920
     callModel = gatekeeperRouted <<null>>
     destCallSignalAddress = ipAddress {
       ip =  4 octets {
         0a 17 0a de                                        ....
       }
       port = 1720
     }
     irrFrequency = 120
     willRespondToIRR = false
     uuiesRequested = {
       setup = false
       callProceeding = false
       connect = false
       alerting = false
       information = false
       releaseComplete = false
       facility = false
       progress = false
       empty = false
       status = false
       statusInquiry = false
       setupAcknowledge = false
       notify = false
     }

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________________

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