Brad,
param.count is for URI parameters and can't be used for any old format. If
your string was in URI param format, I think it would then work:
http://www.opensips.org/Resources/DocsCoreTran16#toc36

I haven't used this transformation, but it appears you'd take the params off
a URI and then use the transformations on the params themselves.

I think what I do to find out if I'm at the end is to use the "select'
transformation and check the value of the return.

Alternatively, you *could* make the first element in your list the number of
values to expect. Not sure if that's even an option in your case..

-Brett



On Sat, Jun 19, 2010 at 8:34 PM, Brad Bendy <[email protected]>wrote:

> Hi list,
>
> Ive got a AVP that gets a value from a memcached store, it's a set of
> integers separated by commas , ex: 4,34,1,10
>
> Is there a way to return the number of entries? In this case id like to
> have a 4 returned.
>
> I cannot get {param.count} to work, but im not sure if it works like
> this or maybe im just not using is right.
>
> Thanks for any help or suggestions
>
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to