[Serusers] Loading attributes question
Jiri Kuthan
jiri at iptel.org
Tue Dec 11 20:46:24 CET 2007
I'm afraid there is no easy way for doing so -- the multiple-value AVPs have been
seen as "sets", disregarding the order. I think one would have to have
a new function like order_avp($avp)...
At 00:05 10/12/2007, Steven C. Blair wrote:
>Content-Language: en-US
>Content-Type: multipart/alternative;
> boundary="_000_EBC0E89A333CED46A6273F415B6386E814BA4E6EEBMAILBOXexchan_"
>
>
>
>I have a locally defined table with attributes which may contain several values. I define each attribute /value pair as a new entry in the table then use avp_load to retrieve these values from the database. The problem is that I don't know how to retrieve the values in a specific order. For example if I have a=1, a=2, a=3 when I load the values for "a" they may be 2,1,3 or 3,1,2, etc. Is there any way to force loading in a specific sequence.
>
>Thanks,Steve
>_______________________________________________
>Serusers mailing list
>Serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
More information about the sr-users
mailing list