<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 2/13/2012 11:06 AM, Miha Zoubek wrote:
<blockquote cite="mid:4F38E0B4.9060007@softnet.si" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
On 2/13/2012 10:52 AM, Fajar A. Nugraha wrote:
<blockquote
cite="mid:CAG1y0sdM1NBPT7C_VFFEM47d4P61voxCMMnQs7kMeTpw8waAtw@mail.gmail.com"
type="cite">
<pre wrap="">if ("%{NAS-IP-Address}" != "xxx.xxx.xxx.xxx"){</pre>
</blockquote>
@Fajar sorry that I did not inform you about this. I have noticed
right when I send email to the group. I have fix quotes but still
getting error.<br>
<br>
fix:<br>
<small><br>
if (%{NAS-IP-Address} != "xxx.xxx.xxx.xxx"){<br>
<br>
update reply {<br>
NAS-IP-Address = "%{NAS-IP-Address}"<br>
Acct-Multi-Session-Id = "%{Acct-Multi-Session-Id}"<br>
Acct-Session-Id = "%{Acct-Session-Id}"<br>
Event-Timestamp = "%{Event-Timestamp}"<br>
3GPP2-Session-Termination-Capability =
"%{3GPP2-Session-Termination-Capability}"<br>
3GPP2-Prepaid-Acct-Quota = "%{3GPP2-Prepaid-Acct-Quota}"<br>
3GPP2-Prepaid-acct-Capability =
"%{3GPP2-Prepaid-acct-Capability}"<br>
<br>
<br>
# 3GPP2-Session-Termination-Capability =
"{3GPP2-Session-Termination-Capability}"<br>
# Acct-Multi-Session-Id = %{request:Acct-Multi-Session-Id}<br>
# 3GPP2-Release-Indicator
=%{request:3GPP2-Release-Indicator}<br>
}<br>
} <br>
</small><br>
<br>
Error:<br>
<small><br>
Module: Checking session {...} for more modules to load<br>
Module: Checking post-proxy {...} for more modules to load<br>
Module: Checking post-auth {...} for more modules to load<br>
Bare %{...} is invalid in condition at: %{NAS-IP-Address} !=
"xxx.xxx.xxx.xxx")<br>
/usr/local/etc/raddb/sites-enabled/default[450]: Errors parsing
post-auth section. <br>
[root@newbill sites-available]# </small><br>
<br>
BR,<br>
Miha<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards / Lep Pozdrav
Miha Zoubek
Softnet d.o.o. </pre>
</blockquote>
Sorry:)<br>
<br>
forget. It is working perfectly:)<br>
<br>
Thanks!<br>
<br>
Miha<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards / Lep Pozdrav
Miha Zoubek
Softnet d.o.o. </pre>
</body>
</html>