Hi all,
I have this problem.
I have 2 contacts for one user subscriber, so in LOCATION tables, after REGISTER session I have:

ID         user        contact        q
12         A            A@IP_X       1
13         A            A@IP_Y       1
14         B            B@IP_Z       1


so, B calls A and A has an incoming CPL script.
In this script I'd like to call the 2 A's contacts in sequential order:
The script is after looup("location"), so the R-URI is just A@IP_X (because it has lowest ID)

SRIPT user A:
<cpl>
  <incoming>
    <location url="sip:A@IP_Y" priority=" 0.3">
           <proxy timeout="10" ordering="sequential" />
     </location>
  </incoming>
</cpl>

Whit this script I hoped to add A@IP_Y to location set (that already included A@IP_X) with priority 0.3, and then call A@IP_X as first (it has priority=q=1) and then, if I no aswer after 10sec, call  A@IP_Y (that  it has  lowest priority).

CPL don't add A@IP_Y to the location set, but it rewrites the location (it removes the old R-URI, A@IP_X) with A@IP_Y and it call only this contact.

Is there a sense in what I've write?
if yes, where is the problem?

regards,
daniel

--
Daniel Grotti
________________________
e-mail : d.grotti@gmail.com