I guess I could do that, but I'd have to resuscitate the location table, which I'd love not to be necessary (performance). The best thing would be a pseudovariable ($ex?) that computes that depending on the contents of both headers. That's why I'm changing the subject to "wishlist".
Lucio Maciel escreveu:
How usrloc handle the expire? it supports both Expire header and contact expires "field"?
If openser handle this, you could do an avp_db_query() selecting the expere field from usrloc saving it to an avp, and than use this avp to do the update on sipfriends?
theres a little overhead, but you will got the rigth expire value.