Re: [Openh323gk-users] Bug in radius ?

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

 



Ok , I see that..
 
But then why "Framed-IP-Address" is not the answering gateway Ip ?       It should be 192.168.0.135 , and NOT 192.168.0.136
 
Of course I'm getting a REJECT , because the ip's does not match in radius..
 
So , what should I do ?    In this way , I can't connect a call...
 
 
                                                        Thanks..
 
                                                                    Alex
 
----- Original Message -----
Sent: Wednesday, July 16, 2003 1:26 PM
Subject: RE: [Openh323gk-users] Bug in radius ?

   Hi,
 
 You should check the field :
 
h323-call-origin = "h323-call-origin=answer"
 
 This means that this ARQ is sent by answering gateway/terminal. When the call is initiated both originating and answering gateways send ARQ to gatekeeper, and both ARQ's are passed to radius for authentication/authorization.
 
    Julius
-----Original Message-----
From: Alexandru Coseru [mailto:alex_spam@distinctgroup.net]
Sent: Wednesday, July 16, 2003 12:39 PM
To: openh323gk-users@lists.sourceforge.net
Subject: [Openh323gk-users] Bug in radius ?

It seems there is a bug in radius modules..
Using radius authentification & accounting , and running radiusd in debug mode , I've notice that:
 
 
 
rad_recv: Access-Request packet from host 127.0.0.1:33606, id=59, length=219
        User-Name = "alex"
        User-Password = "alex"
        NAS-IP-Address = 192.168.0.25
        NAS-Identifier = "stgk02"
        NAS-Port-Type = Virtual
        Service-Type = Call-Check
        Framed-IP-Address = 192.168.0.136
        Called-Station-Id = "961"
        h323-conf-id = "h323-conf-id=2134F4D 74BC2FBC 56343434 34EF0000"
        h323-call-origin = "h323-call-origin=answer"
        h323-call-type = "h323-call-type=VoIP"
        h323-gw-id = "h323-gw-id=stgk02"
 
 
 
Well , it seems like a normal request.. But...    terminal "alex" is not at 192.168.0.136..  That's the IP of callingstation..
 
So , I have a auth req  with user,password from calledstation and ip from callingstation..
 
Is this normal ?
Here is a telnet to gk:
 
 
printallregistrations
AllRegistrations
RCF|192.168.0.135:1720|alex:h323_ID=961:dialedDigits|terminal|5815_endp
RCF|192.168.0.136:1720|gigel:h323_ID=00502d002834:h323_ID|terminal|5816_endp
Number of Endpoints: 2
 
 
 
 
That happend when I have dialed from gigel (192.168.0.136)   the number 961  (which is the number of alex(192.168.0.135).
 
 
 
Latest Gk 2.05 from CVS , latest OpenH323 and Pwlib , Mandrake Linux - kernel 2.4.19-16mdk   , freeradius 0.8.1
 
 
 
 
 

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

  Powered by Linux