Re: Planet VIP-400

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

 



ExternalPasswordAuth is supported only when GnuGk
is compiled with GCC version 2.x.

----- Original Message ----- 
From: "Pavel G. Zhbanov" <pavel@xxxxxxxxxxxxxxxx>
Sent: Monday, March 22, 2004 8:29 AM


I've solved this problem. Thank you for your help.

But now, there is another problem with authentication:
I try to use ExternalPasswordAuth module and I write
this in the config:
----------------------
[Gatekeeper::Main]
Fourtytwo=42
[GkStatus::Auth]
rule=allow

[RoutedMode]
CallSignalPort=1719

[RasSrv::GWPrefixes]
808535=20
[RasSrv::RewriteE164]
808535=300

[Gatekeeper::Auth]
ExternalPasswordAuth=required
default=deny

[ExternalPasswordAuth]
PasswordProgram=/usr/bin/gnugkauth.pl
----------------------

gnugkauth.pl:
--------------------
#!/usr/bin/perl -w

# Make it simple: username == password
use Digest::MD5;

my $a = <>;
chomp $a;
print Digest::MD5::md5_hex($a);
------------

When I run:
ohphone --gatekeeper x.x.x.x -u 1000 --password 1000 -l
It says:
----------------
Enabling H.235 security access to gatekeeper.
Error registering with gatekeeper at "x.x.x.x"
----------------

Also there is such message (from gnugk):
2004/03/22 10:07:45.313 1 gkauth.cxx(1499) GkAuth Unknown auth ExternalPasswordAuth, ignore!

And the status port says:
GRJ|x.x.x.x|1000:dialedDigits|terminal|securityDenial;

What can the the problem?

The same thing happens when the gateway tries to register:
RRJ|192.168.192.46|808535:dialedDigits|gateway|securityDenial;

How should I change the authentication configuration to
allow gateway register without username/password?

Thanks.

On Fri, Mar 19, 2004 at 10:28:01AM -0300, Cesar Bermudez wrote:
> telnet to the gatekeeper at port 7000
> this is status port, do help command for al list of commands
> rv, print al registrations.
> 
> Do you read the manual? ;-)
> 
> > What is "'rv' status port command"? :)
> >
> > On Fri, Mar 19, 2004 at 12:23:01PM +0100, Zygmuntowicz Michal wrote:
> > > What does the 'rv' status port command tell about the registration?
> > >
> > > ----- Original Message -----
> > > From: "Pavel G. Zhbanov" <pavel@xxxxxxxxxxxxxxxx>
> > > Sent: Friday, March 19, 2004 11:25 AM
> > >
> > >
> > > > I'm trying to configure a simple situation: 1 gateway and some
> > > > "computer" users:
> > > > --------------------------------
> > > > [Gatekeeper::Main]
> > > > Fourtytwo=42
> > > > [GkStatus::Auth]
> > > > rule=allow
> > > >
> > > > [RasSrv::GWPrefixes]
> > > > gw1=0
> > > > ---------------------------------
> > > >
> > > > I want to direct call starting with 0 to the gateway (Planet VIP-400).
> > > > I configured the gateway to use the gatekeeper:
> > > >
> > > > # h323 gk_mode = manual
> > > > # h323 gk_addr = x.x.x.x Port: 1719
> > > > # h323 allow_calls_wo_gk = false
> > > > # h323 endpoint_reg_type = gw
> > > > # h323 aliases (E.164) = gw1
> > > >
> > > > But it seems that gateway doesn't want to regester on gatekeeper...
> > > >
> > > > I try: ohphone -u peter 030098033
> > > > And the result is:
> > > > Gatekeeper could not find user "030098033"
> > > >
> > > > What is the problem?
> > > >
> > > > Thanks.
> > > > --
> > > > Pavel Zhbanov



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux