Hello,

All the cache_* ( store, fetch, etc ) functions accept either $var of $avp 
pvars , but they only store and fetch just the topmost value of AVPs.

So the issue is not that all the values are not being fetched, they are not 
even fetched. Unfortunately, some of the back-ends ( like local, memchached ) 
do not support this type of one to many key-value relationship and also such 
changes to the cache_store/cache_fetch functions would not be backward 
compatible ( some people might already be using AVPs there but only expecting 
the topmost values to be pushed to the back-end ).

For the moment, if you want a one to many relationship I'd suggest either 
storing them in CSV or JSON format. 
 
Best Regards,
Vlad

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/151#issuecomment-32392190
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to