[Kamailio-Devel] tobody, nameaddr and parameters

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 28 14:50:35 CEST 2009

On 04/28/2009 01:59 PM, Alex Hermann wrote:
> 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.
ok, I will commit.
> 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;transport=udp>;expires=3600
> ERROR:core:parse_params: invalid character [<] - expected ;
> Contact expires:
> Contact tobody uri: sip:phone_3_0 at;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?
The To body is defined the best by RFC. You can add to wiki from your 
examples above, they are good.


Daniel-Constantin Mierla

More information about the Devel mailing list