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>".