<DIV>hi bogdan,</DIV>
<DIV>Thanks for the help. atleast I got rid of that error but got a new error. I am trying to implement the&nbsp;ACL Bitmap&nbsp;example provided in the avp_docs. The idea is as follows:<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV># 1 - free destination<BR>        # 2 - local call<BR>        # 3 - long distance call<BR>        # 4 - international call<BR>        #<BR>        if(uri=~"sip:0900[0-9]+") /* free destinations */<BR>        {<BR>                if (!avp_check("$acl", "and/i:0x01")<BR>                {<BR>                        sl_send_reply("403","Forbidden - Free Destinations Not Allowed");<BR>                        return;<BR>                };<BR>        } else if(uri=~"sip:0[1-9][0-9]+") {<BR>                if (!avp_check("$acl", "and/i:0x04")<BR>                {<BR>                        sl_send_reply("403","Forbidden - Long Distance Calls Not Allowed");<BR>                        return;<BR>                };<BR>        } else if(uri=~"sip:00[1-9][0-9]+") {<BR>                if (!avp_check("$acl", "and/i:0x08")<BR>                {<BR>                        sl_send_reply("403","Forbidden - International Calls Not Allowed");<BR>                        return;<BR>                };<BR>        } else&nbsp; {<BR>                if (!avp_check("$acl", "and/i:0x02")<BR>                {<BR>                        sl_send_reply("403","Forbidden - Local Calls Not Allowed");<BR>                        return;<BR>                };<BR>        };<BR>        <BR>        # authorized<BR><BR>        # rewritehostport("gateway_ip:gateway_port");<BR>        rewritehostport("10.10.10.10:5060");<BR><BR>But now I get the
 following error:</DIV>
<DIV>&nbsp;</DIV>
<DIV>ERROR:avpops:parse_check_value: parse error in &lt;and/i:0x01&gt; pos 3<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: ERROR:avpops:fixup_check_avp: failed to parse checked value<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: ERROR: fix_expr : fix_actions error<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: Binding '2204','sip:2204@192.168.2.20:8484' has expired<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: use_table(): Invalid parameter value<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: db_del_ucontact: Error in use_table<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: wb_timer(): Can't delete contact from the database<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: Binding '2207','sip:2207@192.168.2.18:8467' has expired<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: use_table(): Invalid parameter value<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]:
 db_del_ucontact: Error in use_table<BR>Sep 29 15:33:31 localhost /usr/local/sbin/openser[15481]: wb_timer(): Can't delete contact from the database<BR></DIV>
<DIV>Is there anything wrong with the expression syntax or there&nbsp;could be&nbsp;problem with the entry in the table. Can you pls help me figure it out.</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanx in advance.</DIV>
<DIV>jayesh</DIV><p>
                <hr size=1>Yahoo! for Good<br> 
<a href="http://store.yahoo.com/redcross-donate3/">Click here to donate</a> to the Hurricane Katrina relief effort.