"Kasra Robert Rasaee" <[EMAIL PROTECTED]> wrote:
> Yeah I am attempting to work on a Prepaid solution,
> but the problem I still face is how and were to use
> the exec-program-wait ?

  Have you bothered reading 'scripts/exec-program-wait'?  It gives
examples...

> would I require to modify the code to FreeRadius ?

  Why would you think that?

> I am still a bit confused, this stuff is all pretty much
> new to me, for example how would I a script or
> perhaps write my own module so that it would send
> back the h323-credit-amount and h323-credit-time,

  You're still going out of your way to confuse yourself.  You DO NOT
need to write another module.

> see the problem here is that in order to retrieve the
> h323-credit-time I must see where the person is going
> to be terminating to, then I must match it against a termination
> rate for that location, then it would calculate the time remaining
> for that destination by the number of dollars he or she has
> and the rate,

  So write a script.  READ the example script.  All of the answers
you're looking for are already there.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to