[Kamailio-Devel] tobody, nameaddr and parameters

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

On Tuesday 28 April 2009, Klaus Darilion wrote:
> I guess param.value works only on SIP URIs (= addr-spec).
There's no such limitation mentioned in the documentation. It just 
mentions a parameter list.

> I would use: $(ct{nameaddr.uri}{uri.param,expires})
That won't work, because expires is a header parameter, not an uri 
> > 1) TRACE("Contact: $ct");
> > 1) Contact: "phone_3_0" <sip:phone_3_0 at;transport=udp>;expires=3600

> > 6) TRACE("Contact nameaddr uri: $(ct{nameaddr.uri})");
> > 6) Contact nameaddr uri: sip:phone_3_0 at;transport=udp

> Further, consider multiple contacts in a single header
That would be the next exercise if necessary. For now I can
assume there's only one.

I'll file a feature request for {nameaddr.params} and a 
bugreport for {tobody.params}, as it seems to do nothing.

Alex Hermann

More information about the Devel mailing list