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