Re: Asterisk as a gateway

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

 



Hi,
i am not shure if asterisk can use username and password (cat tokens called h235), but it can use simple h323id (username) authentification for sure. In order to use it that way you have to change raduth to radaliasauth in your gnugk config. Below there is a part of oh323.conf file for asterisk, there is somenthing about gatekeeper password. Probably it is required password but i haven't tested it. If thats it you can use radauth and everything should work fine. give it a try


oh323.conf ->
[register]
context=default   --or other
alias=16122395451   --h323id
alias=1234         --called number
gwprefix=010     --prefixes
gwprefix=50
; Set the gatekeeper password
;
;gatekeeperPassword=secret



Piotrek

Hi Mike,

Thanks a lot for explanation. I am using OH323 and H323 channels.
However, I am a newbie to asterisk and have no idea at all of how to
accomplish what you said. I found no examples that come close to it.
My calls from * to GNUGK were also rejected as callerNotTRegistered. I
guess it is because of the same reason that you advised.

Please can you provide some sample configs in the aspects.

Million Thanks.
Vincent


2005/02/15 23:20:08.609 1 RasSrv.cxx(1414) GK ARQ Received 2005/02/15 23:20:08.610 2 RasSrv.cxx(1733) ARJ| |25086927:dialedDigits|test:h323_ID=25086917:dialedDigits|false|callerNotRegistered;

2005/02/15 23:20:08.610 3             RasSrv.cxx(2332)  GK      Send
to 127.0.0.1:10001
admissionReject {
   requestSeqNum = 19234
   rejectReason = callerNotRegistered <<null>>
 }





On Tue, 15 Feb 2005 14:22:10 +0100, Zygmuntowicz Michal
<m.zygmuntowicz@xxxxxxx> wrote:


As you see, your asterisk does not send username/password
to the gatekeeper. Make sure it supports CAT tokens and has
username/password configured.

----- Original Message -----
From: "VoIP" <receive4me@xxxxxxxxx>
Subject: Re:  Asterisk as a gateway



Thanks Michael. Not sure below is what you need. By the way, I am
using RadAuth in GNUGK.

2005/02/15 21:17:07.200 1             RasSrv.cxx(1002)  GK      RRQ
Received
2005/02/15 21:17:07.200 3            radauth.cxx(600)   RADAUTH RRQ
Auth failed - no m_tokens
2005/02/15 21:17:07.201 2             gkauth.cxx(448)   GkAuth
RadAuth check failed
2005/02/15 21:17:07.201 2             RasSrv.cxx(1295)
RRJ|127.0.0.1|GW2:h323_ID|gateway|securityDenial;

2005/02/15 21:17:07.202 3             RasSrv.cxx(2332)  GK      Send
to 127.0.0.1:10001
registrationReject {
  requestSeqNum = 25202
  protocolIdentifier = 0.0.8.2250.0.4
  rejectReason = securityDenial <<null>>
  gatekeeperIdentifier =  6 characters {
    004f 0072 0069 0067 0047 004b             GK
  }
}


On Tue, 15 Feb 2005 12:20:16 +0100, Zygmuntowicz Michal
<m.zygmuntowicz@xxxxxxx> wrote:


Check the log to see why the registration has been rejected.

----- Original Message -----
From: "VoIP" <receive4me@xxxxxxxxx>
Sent: Monday, February 14, 2005 6:17 PM



How can I register my chan_oh323 or chan_h323 of Asterisk as a gateway
to GNUGK that radauth is enabled???

GCF|127.0.0.1|GW2:h323_ID|gateway;
RRJ|127.0.0.1|GW2:h323_ID|gateway|securityDenial;

I also defined some H323 EPs but they were all denied.

Many thanks.

Vincent


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/







-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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