Hey Daniel,
 
Besides the order change of destroy, it copies to the new contact the `xavp` 
from incoming `ucontact_t` argument just like the rest of the fields. 

If the config variable `xavp_contact` is found and not empty, then 
`ucontact_xavp_store` destroy this xavp and fills it up with whatever is 
contained inside. 

Some doubts i had, is whether i shall `c->xavp = _ci->xavp;` or `       
_c->xavp = xavp_clone_level_nodata(_ci->xavp);` or `xavp_add(_ci->xavp, 
&c->xavp)`. What is the difference between all these methods?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3679#issuecomment-1866272393
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3679/c1866272...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to