[sr-dev] git:master: modules_k/nathelper: add_contact_alias adds <> s around contact URI

Klaus Darilion klaus.mailinglists at pernau.at
Tue Sep 6 13:37:19 CEST 2011



Am 06.09.2011 12:19, schrieb Alex Hermann:
> On Tuesday 06 September 2011, Alex Hermann wrote:
>> There seems to be another issue, sorry for the noise.
> 
> Or not...
> 
> When the contact has no <>, these are added by the add_contact_alias() 
> function, but as header parameters instead of uri paramater. My attempted fix 
> doesn't work either.
> 
> I think the problem is with the lumps. When the <> are missing, 3 lumps are 
> added to the contact: "<", ">" and ";alias=X" parameter, which seems to mess 
> up the position of the alias parameter. This looks like the infamous problem 
> that one can't manipulate the same part of the message multiple times.

Maybe you can workaround it by adding just 2 lumps? E.g. "<" and
";alias=X>".

regards
Klaus



More information about the sr-dev mailing list