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

Juha Heinanen jh at tutpro.com
Tue Sep 6 07:37:34 CEST 2011


Alex Hermann writes:

> this commit seems to suffer from an off-by-one bug, placing the alias 
> parameter outside the just added <>. Attached commit should fix this. If you 
> agree, i'll commit is asap.

i was able to make one test and didn't see any problems:

incoming contact:

Contact: <sip:jh_test_fi at 192.98.102.10:5074;transport=tcp>

outgoing after calling add_contact_alias():

Contact: <sip:jh_test_fi at 192.98.102.10:5074;alias=192.98.102.10~46952~2;transport=tcp>

-- juha





More information about the sr-dev mailing list