<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>hi<br>Please write a example code for my process :<br>I have a table that have a couple of tel numbers :<br>User->Connect->if his/her number is in called_number_table =>give to him a valid IP<br>User->Connect->if his/her number is NOT in called_number_table => give him an invalid IP(192.168.x.y)<br><br>Which section is suitable for my purpose?authentication-authorization or post-auth<br>PLZ<br>Thanks.<br> <br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">----- Original Message ----<br>From: "tnt@kalik.net" <tnt@kalik.net><br>To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org><br>Sent: Saturday, October 18, 2008 9:08:30
 PM<br>Subject: Re: Allocate IP address<br><br>
It does work. Post the whole debug.<br><br>Ivan Kalik<br>Kalik Informatika ISP<br><br><br>Dana 18/10/2008, "Rasool Jalali" <<a ymailto="mailto:r_jalali@ymail.com" href="mailto:r_jalali@ymail.com">r_jalali@ymail.com</a>> piše:<br><br>>hi<br>>it dose not work.Output : <br>><br>>+++[control] returns noop<br>><br>>PLZ help me<br>><br>><br>><br>>----- Original Message ----<br>>From: "<a ymailto="mailto:tnt@kalik.net" href="mailto:tnt@kalik.net">tnt@kalik.net</a>" <<a ymailto="mailto:tnt@kalik.net" href="mailto:tnt@kalik.net">tnt@kalik.net</a>><br>>To: FreeRadius users mailing list <<a ymailto="mailto:freeradius-users@lists.freeradius.org" href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>>Sent: Saturday, October 18, 2008 3:36:17 PM<br>>Subject: Re: Allocate IP address<br>><br>>update control { ...<br>><br>>Ivan Kalik<br>>Kalik
 Informatika ISP<br>><br>><br>>Dana 18/10/2008, "Rasool Jalali" <<a ymailto="mailto:r_jalali@ymail.com" href="mailto:r_jalali@ymail.com">r_jalali@ymail.com</a>> piše:<br>><br>>>hi all<br>>>i have a code like this  in auth-post section :<br>>>if (condition) {<br>>>    allocate from pool_1<br>>>}<br>>>else {<br>>>    allocate from pool_2<br>>>}<br>>><br>>>I write this code but it dose not work :<br>>><br>>>if (condition) {<br>>>    update reply {<br>>>                            Pool-Name : = pool_1<br>>>                        }<br>>>}<br>>>else {<br>>>         update reply {<br>>>                 
           Pool-Name : = pool_2<br>>>                        }<br>>>}<br>>><br>>>PLZ help me<br>>>tanx.<br>>><br>>>__________________________________________________<br>>>Do You Yahoo!?<br>>>Tired of spam?  Yahoo! Mail has the best spam protection around<br>>><a href="http://mail.yahoo.com" target="_blank">http://mail.yahoo.com</a><br>>><br>><br>>-<br>>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>><br>><br>>__________________________________________________<br>>Do You Yahoo!?<br>>Tired of spam?  Yahoo! Mail has the best spam protection around <br>><a href="http://mail.yahoo.com" target="_blank">http://mail.yahoo.com</a><br>><br><br>-<br>List
 info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></div></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>