Re: prepaid services :)

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

 



OK. I see the problem. There is a bug in radauth that expect
Session-Timeout to be a string attribute like Session-Timeout="100"
instead of integer attribute Sesstion-Timeout=10.
But you can still use h323-credit-time - you just need to comply
it with Cisco funny standard - embed attr name inside attr value, like:
    h323-credit-time="h323-credit-time=100"

----- Original Message ----- 
From: "Krasiyan Andreev" <krasiyan@bginfo.net>
Sent: Thursday, September 25, 2003 3:24 PM


> first , thank for great work :) 
> I have a question , but probably problem is mine ... 
> I autenticate users based on username , that is de-facto phone number , no 
> alias , and h235 password with external chap script , written in perl 
> afrer all , script returns exit 0, it is exec-program-wait for xtradius. 
> at the bottom of script, I set (dinamicaly , dependent of destination) 
> Session-Timeout ot h323-credit-time 
> for example 
> print STDOUT "Session-Timeout=300\n" 
> or print STDOUT "h323-credit-time=200\n" 
> script is used for autentication only on ARQ 
> problem is , that from radius debug all is ok , but gnugk debug says alleays 
> that , if I use Session-Timeout that durationLimit is 0 ,and  if I use 
> h323-credit-time that is invalid , and after it , securityDenial 
> When I not set any of parameters , all is ok. 
> I try with and without cat , in case that only return 0 to autorize ,but 
> problem is the same , maybe parameters must be passed in difficult manner , or 
> must explicity check for Service-Type Call-Check and send after it? 
> I see source of radauth.cxx and seems that mine atrbutes are not extract 
> correctly , do I make any mistake and they don't work in external scripts, 
> what is design about using it , as you plan for right using?



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
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