[sr-dev] pua_dialoginfo deletes AVPs?

Jasmin Schnatterbeck js at data-cmr.net
Sun Aug 8 14:02:36 CEST 2010


Hello List,

finally I figured out, why the previously described problem exists (avps
declared in request route are not available anymore in branch route, if
pua_dialoginfo module is loaded).

pua_dialoginfo uses pua for sending PUBLISH request
pua uses tm t_request for sending PUBLISH request

t_request() is located in uac.c (tm):
- in line 411 avp list is reset
- in line 276 build_cell() is called:
  build_cell() is located in h_table.c, where lines 305-323 delete avps

If I comment out the mentioned lines, which delete avps, then avps set
in request route are also available in branch route.

But I do not know, what is also affected by this change.

Do you have some ideas, may we find a good solution for that?

Regards
Jasmin

> Hi Henning,
> 
> because of the fact, that the problem only appears, if the
> pua_dialoginfo module is enabled, I think the problem is located
> somewhere in the code tm hooks, dialog hooks or pua/pua_dialoginfo
> itself...
> 
> I have attached the debug output of pua_dialoginfo which shows only, if
> the module is enabled... may it is useful in any way...
> 
> Regards
> Jasmin
> 
> > On Friday 04 June 2010, Jasmin Schnatterbeck wrote:
> > > onreply_avp_mode does not seem to be available in kamailio 3.0.2 (at
> > > least not in the module doc)
> > > I think this parameter is for avps in reply_route? or does it work for
> > > branch_route also?
> > 
> > Hi Jasmin,
> > 
> > ah, sorry. Its not available or necessary anymore in 3.0. In 1.5 it also 
> > affected the branch_route, i think, but for the newer version this behaviour 
> > is now the default. Then in your case its probably another problem..
> > 
> > Cheers,
> > 
> > Henning
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev






More information about the sr-dev mailing list