[sr-dev] nathelper set_contact_alias
Olle E. Johansson
oej at edvina.net
Tue Dec 15 16:36:14 CET 2015
> On 15 Dec 2015, at 16:33, Olle E. Johansson <oej at edvina.net> wrote:
>
> Hi!
>
> I tried to use the set_contact_alias function in nathelper today. The logs in debug mode indicate that a conversion happened:
>
> 0(42013) DEBUG: <core> [dset.c:785]: uri_add_rcv_alias(): encoded <sip:10.10.40.18:5060;line=4949;skrep=bl?b?r> => [sip:10.10.40.18:5060;line=4949;skrep=bl?b?r;alias=192.168.40.17~63801~1]
>
> But nothing is changed in the outbound message, the old contact is still around. Tried with both set_contact_alias and add_contact_alias.
>
> Anyone else that has seen these issues?
If I run msg_apply_changes before I run t_relay the change happens. Otherwise, nothing is changed in the contact. Strange indeed.
/O
More information about the sr-dev
mailing list