[Kamailio-Devel] tobody, nameaddr and parameters

Alex Hermann alex at speakup.nl
Tue Apr 28 13:59:04 CEST 2009


On Tuesday 28 April 2009, Daniel-Constantin Mierla wrote:
> there was a but in tobody.params. Can you test the attached patch and
> see if now is ok?
Yes, that fixes the transformation, thanks.

TRACE("Contact: $ct");
TRACE("Contact expires: $(ct{param.value,expires})");
TRACE("Contact tobody uri: $(ct{tobody.uri})");
TRACE("Contact tobody params: $(ct{tobody.params})");
TRACE("Contact tobody param expires: $(ct{tobody.params}{param.value,expires})");

Contact: "phone_3_0" <sip:phone_3_0 at 172.28.4.105:5060;transport=udp>;expires=3600
ERROR:core:parse_params: invalid character [<] - expected ;
Contact expires:
Contact tobody uri: sip:phone_3_0 at 172.28.4.105:5060;transport=udp
Contact tobody params: expires=3600
Contact tobody param expires: 3600



Btw, as you committed the tobody transformations, you'll probably know 
best how they should look/function. Could you provide some info on the
wiki on how the tobody looks exactly (provide examples like with 
nameaddr) and how it differs from nameaddr?

-- 
Met vriendelijke groet,


Alex Hermann
SpeakUp BV
T: 088-SPEAKUP (088-7732587)
F: 088-7732588



More information about the Devel mailing list