<!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.6000.17063" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><SPAN lang=EN>
<P><FONT face="Lucida Bright" size=2>Hi,</FONT></P>
<P><FONT face="Lucida Bright" size=2>I want my FS to entertain only those calls 
which are coming from a specific IP address . </FONT></P>
<P><FONT face="Lucida Bright" size=2>For this,&nbsp;I have defined a profile in 
vars.xml as </FONT></P>
<P align=justify><FONT face="Lucida Bright" size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &lt;X-PRE-PROCESS cmd="set" 
data="profile_00=192.168.4.10"/&gt;.</FONT></P>
<P align=justify><FONT face="Lucida Bright" size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &amp; another line in public.xml as </FONT><SPAN lang=EN></P>
<P align=justify><FONT face="Lucida Bright" size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &lt;extension name="transfer_to_context_01"&gt;</FONT></P>
<P align=justify><FONT face="Lucida Bright" size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &lt;condition field="${sip_from_host}" 
expression="$${profile_00}"&gt;</FONT></P>
<P align=justify><FONT face="Lucida Bright" size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &lt;action application="transfer" data="${destination_number} 
XML sharad"/&gt;</FONT></P>
<P align=justify><FONT face="Lucida Bright" size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</FONT></P>
<P align=justify><FONT face="Lucida Bright" size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</FONT></P></SPAN>
<P><FONT face="Lucida Bright" size=2>As per my understanding, if call is coming 
from 192.168.4.10, that call should be processed as per the context 
`sharad'.....correct ?</FONT></P>
<P><FONT face="Lucida Bright" size=2>Yes, it works like this. Upto here all is 
ok.</FONT></P>
<P><FONT face="Lucida Bright" size=2>But if the call is coming from 192.168.100 
- 192.168.4.109, these calls also are processed as per context `sharad'. 
</FONT></P>
<P><FONT face="Lucida Bright" size=2>Means entire IP is not matched by condition 
field. </FONT></P>
<P><FONT face="Lucida Bright" size=2>Is there any solution for this. </FONT></P>
<P><FONT face="Lucida Bright" size=2>Requesting all of you to help me in this 
regard.</FONT></P>
<P><FONT face="Lucida Bright" size=2>Regards</FONT></P>
<P><FONT face="Lucida Bright" 
size=2>Sharad</FONT></P></SPAN></DIV></BODY></HTML>