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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3679/c1866272393@github.com>