Re: Disconnect message in 2.1.7 release

2009-10-19 Thread Alan DeKok
Vijay Badola wrote:
>  I have seen the Changelog of release freeradiusd-2.1.7. 
>  It says there is full support of ‘CoA and Disconnect messages’.
>  My question is:
> 
> (i) Is it possible to send disconnect/COA message
> internally from code?

  From C?  Yes.  The rest of the code does it.

  From "unlang", yes, too.

> (ii)If yes then how?

  See src/main/util.c, request_alloc_coa().  See also the code in
evaluate.c, and event.c that deals with it.

  See also raddb/sites-available/originate-coa.  This is in the
ChangeLog file.

> (iii)   If not then how can I send the disconnect message from
> outside? I have also seen your documents to send disconnect message
> using radclient(externally).but I have doubt how I will get trigger to
> send Disconnect/COA message if I am doing prepaid accounting.

  FreeRADIUS can run external programs.  Just run radclient.

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

Disconnect message in 2.1.7 release

2009-10-19 Thread Vijay Badola
Hi,

 I have seen the Changelog of release freeradiusd-2.1.7.

 It says there is full support of 'CoA and Disconnect messages'.

 My question is:

(i) Is it possible to send disconnect/COA message
internally from code?

(ii)If yes then how?

(iii)   If not then how can I send the disconnect message from
outside? I have also seen your documents to send disconnect message using
radclient(externally).but I have doubt how I will get trigger to send
Disconnect/COA message if I am doing prepaid accounting.

 

,Regards

Vijay Badola

+919958995992(M) 

+911244200704(O) 




 

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