Hi Andrei,
thank you for looking at the problem.
You mean t_uac_prepare() (called via
tmb->t_request, request(),
t_uac(), t_uac_with_ids(), t_uac_prepare()) ?
Yes, that's it.
Rather then adding a parameter for not reseting
the avp list to
build_cell() and commenting it out in t_request(), I think the solution
is not copying the avp lists at all for the local transaction (so a
parameter for creating a transaction with an empty avp list).
I already tried to change the build_cell() function in this way.
When
new_cell->uri_avps_from
new_cell->uri_avps_to
new_cell->user_avps_from
new_cell->user_avps_to
are zero-pointers, kamailio dies a few seconds after sending out the
PUBLISH request.
Which changes would you recommend to create an empty avp list?
It should work. Could you send me a patch (git diff or diff -u) with
your changes and a backtrace of the core dump (gdb ser core and then
bt)?
Andrei