[sr-dev] Suggesting fix for t_request and pua_dialoginfo
Andrei Pelinescu-Onciul
andrei at iptel.org
Wed Aug 18 20:43:30 CEST 2010
On Aug 16, 2010 at 18:33, Jasmin Schnatterbeck <js at data-cmr.net> wrote:
> 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
More information about the sr-dev
mailing list