El 13/08/14 03:12, Daniel-Constantin Mierla escribió:
Would be nicer not to forward all headers inline, that results in a message easy to read (especially on mobile devices) and therefore faster to answer.

You use subst over contact and set contact allias, which both append values there, deleting same old content. Note that any change to sip message is not applied immediately, but kept as a diff operation. You need to use msg_apply_changes() after each change that you need to be visible immediately -- read the readme of textopsx for proper usage of this function.

Cheers,
Daniel
Thanks, I will try this immediately. However, the call to add_contact_alias only runs if a websocket is detected, and I am having this issue over ordinary SIP through UDP.