<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello </FONT></DIV>
<DIV><FONT face=Arial size=2>is there a way to ignore an attribute value when I 
make an authorization request to MsSQL database? that value is not important I 
think and it creates an error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ERROR:</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV>
<DIV>
<DIV><FONT face=Arial size=2>radius_xlat:&nbsp; <A 
href="">'122@domain.com'</A><BR>rlm_sql (sql): sql_set_user escaped user --&gt; 
<A href="">'122@domain.com'</A><BR>radius_xlat:&nbsp; 'VoIP_Radius '<A 
href="">122@domain.com''</A><BR>rlm_sql (sql): Reserving sql socket id: 
16<BR>radius_xlat:&nbsp; ''<BR>radius_xlat:&nbsp; 'VoIP_Radius <A 
href="">'122@domain.com',''</A>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
'','192.168.1.1','''<BR>rlm_sql: Failed to create the pair: Unknown value VoIP 
for attribute Service-Type<BR>rlm_sql (sql): Error getting data from 
database<BR>radius_xlat:&nbsp; ''<BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>MsSQL authorization queries:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>authorize_check_query = "VoIP_Radius 
'%{User-Name}'"<BR>authorize_reply_query = "VoIP_Radius 
'%{User-Name}','%{Calling-Station-Id}',&nbsp;&nbsp; 
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
'%{Called-Station-Id}','%{NAS-IP-Address}','%{h323-conf-id}','VoIP'"<BR></FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>I tried to remove value VoIP from authorization 
query but the problem doesn't expire.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Giuseppe</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV></BODY></HTML>