Thanks Alex, I'll go and do some reading up on avp's :)
On 28/02/12 16:25, Alex Balashov wrote:
I would just throw a serialised string into the hash
table as a scalar
entry, the components of which are separated by some delimiter, e.g.
REGISTER-1;INVITE-2;3
Then, I'd deserialise it by iterating through it with the {s.select}
transform and throw it into an AVP array, e.g.
$(avp(s:route_set)[$avp(s:route_set_idx]) = ...
$avp(s:route_set_idx) = $avp(s:route_set_idx) + 1;
Then, I'd just iterate through it using serial forking.