<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>R: [Serusers] Parallel forking and reply error</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>thanks for the response Jan.</FONT>
</P>

<P><FONT SIZE=2>Consequently if I allow more than one contact for each username, there is no way to assure that my access control policy will be applied to all contacts?</FONT></P>

<P><FONT SIZE=2>However I was thinking to another scenario where I don't permit that two clients are registered with the same username. </FONT></P>

<P><FONT SIZE=2>When I need to use the forking I create a special user and I explicitly define the set of contacts associated to it.</FONT>
<BR><FONT SIZE=2>All the components of these sets will have the same domain administrated by the proxy, so all the INVITEs generated in forking mode came back to the proxy and the entire config script is executed for each contact.</FONT></P>

<P><FONT SIZE=2>sip:special_user@proxy_domain&nbsp;&nbsp; ----&gt; sip:user1@proxy_domain&nbsp;&nbsp;&nbsp; ---&gt;&nbsp;&nbsp;&nbsp;&nbsp; user1@ip_address1</FONT>
<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; <FONT SIZE=2>----&gt; sip:user2@proxy_domain&nbsp;&nbsp;&nbsp; ---&gt;&nbsp;&nbsp;&nbsp;&nbsp; user2@ip_address2</FONT>
</P>

<P><FONT SIZE=2>In this situation, when I need to avoid to contact only one of the two users, I can't send an error message.</FONT>
</P>

<P><FONT SIZE=2>What do you think about this use of the recursive elaboration? </FONT>
<BR><FONT SIZE=2>I think that there is the risk to lost the control, and I'm still evaluating all the situations that could become dangerous.</FONT></P>

<P><FONT SIZE=2>Daniele</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Messaggio originale-----</FONT>
<BR><FONT SIZE=2>Da: Jan Janak [<A HREF="mailto:jan@iptel.org">mailto:jan@iptel.org</A>]</FONT>
<BR><FONT SIZE=2>Inviato: lunedi 12 luglio 2004 9.50</FONT>
<BR><FONT SIZE=2>A: Zappasodi Daniele</FONT>
<BR><FONT SIZE=2>Cc: serusers@lists.iptel.org</FONT>
<BR><FONT SIZE=2>Oggetto: Re: [Serusers] Parallel forking and reply error</FONT>
</P>
<BR>

<P><FONT SIZE=2>This is not possible because the config script will be executed for the</FONT>
<BR><FONT SIZE=2>first branch only, thus you couldn't implement any per-branch policy.</FONT>
</P>

<P><FONT SIZE=2>&nbsp; Jan.</FONT>
</P>

<P><FONT SIZE=2>On 30-06 10:16, Zappasodi Daniele wrote:</FONT>
<BR><FONT SIZE=2>&gt; Hi, all</FONT>
<BR><FONT SIZE=2>&gt; I'm implementing a black list, the control access to the gateway and other</FONT>
<BR><FONT SIZE=2>&gt; control policies and I have a problem with the call forking.</FONT>
<BR><FONT SIZE=2>&gt; In case of a call that generates a parallel forking I want the capability to</FONT>
<BR><FONT SIZE=2>&gt; select if accept or refuse the call for each single contact, but if the</FONT>
<BR><FONT SIZE=2>&gt; first reply that I send to the caller is an error message 4xx, the UA caller</FONT>
<BR><FONT SIZE=2>&gt; shuts down the call. </FONT>
<BR><FONT SIZE=2>&gt; What would I have to do to add my reject (caused by my access control</FONT>
<BR><FONT SIZE=2>&gt; policy) to the call forking administration and so reply an error only if all</FONT>
<BR><FONT SIZE=2>&gt; contacts can not be reachable?</FONT>
<BR><FONT SIZE=2>&gt; I'm trying to implement a solution to reply an error only if all the</FONT>
<BR><FONT SIZE=2>&gt; contacts can not be reachable. </FONT>
<BR><FONT SIZE=2>&gt; To do this thing I need to know the number of contacts that the lookup</FONT>
<BR><FONT SIZE=2>&gt; function has found for the request-uri that is arrived ( Is it possible to</FONT>
<BR><FONT SIZE=2>&gt; know if I have a single contact or a parallel forking?) and, if there are</FONT>
<BR><FONT SIZE=2>&gt; more than one contact associated to the sip uri, how can I go to serve the</FONT>
<BR><FONT SIZE=2>&gt; next contact in list without sending a reply for the destinations that I</FONT>
<BR><FONT SIZE=2>&gt; have to block?</FONT>
<BR><FONT SIZE=2>&gt; Any suggestion?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Thanks </FONT>
<BR><FONT SIZE=2>&gt; Daniele</FONT>
</P>

<P><FONT SIZE=2>&gt; _______________________________________________</FONT>
<BR><FONT SIZE=2>&gt; Serusers mailing list</FONT>
<BR><FONT SIZE=2>&gt; serusers@lists.iptel.org</FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://lists.iptel.org/mailman/listinfo/serusers" TARGET="_blank">http://lists.iptel.org/mailman/listinfo/serusers</A></FONT>
</P>

</BODY>
</HTML>