Re: More SBC ills

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

 



> GnuGk allows you to register multiple endpoints on one IP. It 
> uses the unique alias and not the source IP to register.
> 

Great!  I was hoping it was just my error...

> What gatekeeper.ini settings do you have that causes the problem? 
> Maybe a level 5 trace from GnuGk might be helpful in 
> determining why the gatekeeper is no allowing registrations.
> 

I'm not entirely sure what portions of the config are pertinent.  I can
supply the rest of my .ini if need be.

[Gatekeeper::Main]
Fortytwo=42
Name=GK1
TimeToLive=300
AlternateGKs=206.145.172.55:1719:false:120:GK2
SendTo=206.145.172.55:1719
SkipForwards=206.145.172.55

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1721
RemoveCallOnDRQ=0
ActivateFailover=1

[RoutingPolicy]
default=explicit,neighbor,internal

[Gatekeeper::Auth]
SQLAuth=optional;RRQ,ARQ
default=allow

[SQLAuth]
Driver=MySQL
Host=localhost
Database=test
Username=gnugk
Password=secret
MinPoolSize=3
RegQuery=SELECT active from users where term_ip='%{callerip}' and
aliases =  SUBSTRING_INDEX('%{aliases}', ',', -1);

### test.users contents ###

mysql> select * from users;
+------------+----------------+---------+---------------+---------------
--+------------+--------+
| gatekeeper | gk_ip          | zone    | h323_id       | term_ip
| aliases    | active |
+------------+----------------+---------+---------------+---------------
--+------------+--------+
| GK1        | 206.145.172.54 | se-vpne | sitee         | 206.145.172.27
| 9522309961 |      1 | 
| GK1        | 206.145.172.54 | sf-vpne | sitef         |
206.145.172.183 | 9522309969 |      1 | 
| GK1        | 206.145.172.54 | sa-vpna | V7632308518   | 192.168.198.8
| 7632308518 |      1 | 
| GK1        | 206.145.172.54 | sc-vpna | Training.vid1 | 192.168.198.8
| 7632308520 |      1 | 
+------------+----------------+---------+---------------+---------------
--+------------+--------+

### Level 5 trace ###

<snip "normal" RRQ/RCF exchanges for 206.145.172.27/9522309961 and
206.145.172.183/9522309969>

2007/06/26 09:39:33.253 5                job.cxx(406)   JOB     Worker
threads: 6 total - 5 busy, 1 idle
2007/06/26 09:39:38.629 5           yasocket.cxx(759)   RasSrv  1
sockets selected from 4, total 4/0
2007/06/26 09:39:38.629 4             RasSrv.cxx(230)   RAS
Receiving on 206.145.172.54:1719(U)
2007/06/26 09:39:38.630 2             RasSrv.cxx(189)   RAS     Read
from 192.168.198.8:1719
2007/06/26 09:39:38.630 3             RasSrv.cxx(238)   RAS
<3> {
  }
2007/06/26 09:39:38.631 5                job.cxx(354)   JOB     Worker
threads: 6 total - 6 busy, 0 idle
2007/06/26 09:39:38.631 5                job.cxx(180)   JOB     Starting
Job RRQ at Worker thread 3068005264
2007/06/26 09:39:38.631 1             RasSrv.cxx(368)   RAS     RRQ
Received
2007/06/26 09:39:38.632 2             RasSrv.cxx(413)
RRJ|192.168.198.8| |terminal|<12>;
2007/06/26 09:39:38.632 3             RasSrv.cxx(250)   RAS     Send to
192.168.198.8:1719
<5> {
  }
2007/06/26 09:39:38.632 5             RasSrv.cxx(264)   RAS     Sent
Successful
2007/06/26 09:39:38.632 5                job.cxx(417)   JOB     Job RRQ
deleted
2007/06/26 09:39:38.633 5                job.cxx(406)   JOB     Worker
threads: 6 total - 5 busy, 1 idle
2007/06/26 09:39:41.156 5           yasocket.cxx(759)   RasSrv  1
sockets selected from 4, total 4/0
2007/06/26 09:39:41.157 4             RasSrv.cxx(230)   RAS
Receiving on 206.145.172.54:1719(U)
2007/06/26 09:39:41.157 2             RasSrv.cxx(189)   RAS     Read
from 192.168.198.8:1719
2007/06/26 09:39:41.158 3             RasSrv.cxx(238)   RAS
<3> {
  }
2007/06/26 09:39:41.158 5                job.cxx(354)   JOB     Worker
threads: 6 total - 6 busy, 0 idle
2007/06/26 09:39:41.158 5                job.cxx(180)   JOB     Starting
Job RRQ at Worker thread 3068005264
2007/06/26 09:39:41.158 1             RasSrv.cxx(368)   RAS     RRQ
Received
2007/06/26 09:39:41.159 5              gksql.cxx(387)   SQLAuth
Executing query: SELECT active from users where term_ip='192.168.198.8'
and aliases =  SUBSTRING_INDEX('V7632308518,7632308518', ',', -1);
2007/06/26 09:39:41.160 3             gkauth.cxx(924)   GKAUTH  SQLAuth
RRQ check ok
2007/06/26 09:39:41.162 1             RasTbl.cxx(86)    New
EP|192.168.198.8:1720|V7632308518:<1>=7632308518:<0>|terminal|3880_endp

2007/06/26 09:39:41.163 4             RasSrv.cxx(1052)  Forwarding RAS
to 206.145.172.55:1719
2007/06/26 09:39:41.163 3             RasSrv.cxx(250)   RAS     Send to
206.145.172.55:1719
<3> {
  }
2007/06/26 09:39:41.164 5             RasSrv.cxx(264)   RAS     Sent
Successful
2007/06/26 09:39:41.164 2             RasSrv.cxx(413)
RCF|192.168.198.8:1720|V7632308518:<1>=7632308518:<0>|terminal|3880_endp
;
2007/06/26 09:39:41.164 3             RasSrv.cxx(250)   RAS     Send to
192.168.198.8:1719
<4> {
  }
2007/06/26 09:39:41.165 5             RasSrv.cxx(264)   RAS     Sent
Successful
2007/06/26 09:39:41.165 5                job.cxx(417)   JOB     Job RRQ
deleted
2007/06/26 09:39:41.165 5                job.cxx(406)   JOB     Worker
threads: 6 total - 5 busy, 1 idle
2007/06/26 09:39:59.099 5           yasocket.cxx(759)   RasSrv  1
sockets selected from 4, total 4/0
2007/06/26 09:39:59.099 4             RasSrv.cxx(230)   RAS
Receiving on 206.145.172.54:1719(U)
2007/06/26 09:39:59.099 2             RasSrv.cxx(189)   RAS     Read
from 192.168.198.8:1719
2007/06/26 09:39:59.100 3             RasSrv.cxx(238)   RAS
<3> {
  }
2007/06/26 09:39:59.100 5                job.cxx(354)   JOB     Worker
threads: 6 total - 6 busy, 0 idle
2007/06/26 09:39:59.101 5                job.cxx(180)   JOB     Starting
Job RRQ at Worker thread 3068005264
2007/06/26 09:39:59.101 1             RasSrv.cxx(368)   RAS     RRQ
Received
2007/06/26 09:39:59.101 5              gksql.cxx(387)   SQLAuth
Executing query: SELECT active from users where term_ip='192.168.198.8'
and aliases =
SUBSTRING_INDEX('V7632308518,7632308518,Training.vid1,7632308520', ',',
-1);
2007/06/26 09:39:59.103 3             gkauth.cxx(924)   GKAUTH  SQLAuth
RRQ check ok
2007/06/26 09:39:59.105 4             RasSrv.cxx(1052)  Forwarding RAS
to 206.145.172.55:1719
2007/06/26 09:39:59.105 3             RasSrv.cxx(250)   RAS     Send to
206.145.172.55:1719
<3> {
  }
2007/06/26 09:39:59.105 5             RasSrv.cxx(264)   RAS     Sent
Successful
2007/06/26 09:39:59.106 2             RasSrv.cxx(413)
RCF|192.168.198.8:1720|V7632308518:<1>=7632308518:<0>=Training.vid1:<1>=
7632308520:<0>|terminal|3880_endp;
2007/06/26 09:39:59.106 3             RasSrv.cxx(250)   RAS     Send to
192.168.198.8:1719
<4> {
  }
2007/06/26 09:39:59.106 5             RasSrv.cxx(264)   RAS     Sent
Successful

###

So, what I'm seeing is that the SBC is prepending the alias list in the
second RRQ with the alias list from the first RRQ.  Am I interpreting
this correctly?

Thanks,

--
Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________________

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