Hello Rik,

Basically, "registered" is just a way of doing a "lookup" but without overwriting the R-URI. So to me it should also populate the /attributes/ avp, if it's defined.

Moreover, this is the best way you can achieve what you want, since the usrloc module stores its keys in a way which optimizes subsequent lookups. (using an AVL tree)

I just committed a patch for the "registered" function. It will now also populate the AVP. (also on 1.10)

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 10/02/2013 12:12 PM, Rik Broers wrote:

Managed to get it working. After Lookup the AVP is repopulated

Should this also be the case on the *registered(domain [,AOR[, callid]]) *function?

My problem would be completely solved if this function also fills the AVP which it currently doesn't seem to do!

As Lookup rewrites my ruri which is undesirable in my script.

Regards,

Met vriendelijke groet,

*Rik Broers*
*/Voice engineer/*

_______________________________________________
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