Hi all,<br>I'd like to understand CPL the behaviour or serial forking made by CPL.<br>This is my CPL script (for USER A):<br><br> <incoming><br> <lookup source="registration"><br> <success>
<br> <proxy ordering="sequential" /><br> </success><br> </lookup><br></incoming><br></cpl><br><br><br>The first question is : In this case, if I have 2 contacts for USER A, what is its behaviour ?
<br><br>I have made a couple of tests about it.<br>USER A has 2 contacts : USERA@IP_1 and USERA@IP_2 and the CPL script as above.<br>USER B has 1 contact : USERB@IP_3<br><br>The location table is:<br>ID username contact q
<br>318 USERB USERB@IP_3 1<br>319 USERA USERA@IP_1 1<br>320 USERA USERA@IP_2 1<br><br>In this case the CPL script calls both of Contacts of USER A, at the same time.
<br>Then, I've changed the two contact's q parameters:<br><br>ID username contact q<br>
318 USERB USERB@IP_3 1<br>
319 USERA USERA@IP_1 1<br>
320 USERA USERA@IP_2 <span style="font-weight: bold;">0.1<br><br></span>In this case CPL script calls first USERA@IP_2 (low q paramenter) and then USERA@IP_1 (high q-value)<br><br>ID username contact q
<br>
318 USERB USERB@IP_3 1<br>
319 USERA USERA@IP_1 <span style="font-weight: bold;"> 0.1</span><br>
320 USERA USERA@IP_2 1<br><br>In this case CPL script calls first USERA@IP_1 (low q paramenter) and then USERA@IP_2 (high q-value)<br><br>ID username contact q
<br>
318 USERB USERB@IP_3 1<br>
319 USERA USERA@IP_1 <span style="font-weight: bold;"> 0.1</span><br>
320 USERA USERA@IP_2 <span style="font-weight: bold;">0.5</span><br><br>In this case CPL script calls first USERA@IP_1 (low q paramenter) and then USERA@IP_2 (high q-value)<br clear="all">
<span style="font-weight: bold;"></span><br>ID username contact q<br>
318 USERB USERB@IP_3 1<br>
319 USERA USERA@IP_1 <span style="font-weight: bold;"> 0.1</span><br>
320 USERA USERA@IP_2 <span style="font-weight: bold;">0.1<br><br></span>In this case the CPL script calls both of Contacts of USER A, at the same time.<br><br>It seem work in the reverse mode: it call first the lowest q value and then the highest.
<br><br>So, does PROXY element (with ordering="sequential") care about q-parameter ? <br><br>Can somebody help me?<br><br>Regards,<br>Daniel<br><br><br>-- <br>Daniel Grotti<br>________________________<br>e-mail :
<a href="mailto:d.grotti@gmail.com">d.grotti@gmail.com</a>