On Wed, Jul 6, 2011 at 6:05 PM, Klaus Darilion <klaus.mailinglists at pernau.at> wrote: > Hi! > > According to > http://www.pjsip.org/pjsip/docs/html/structpjsua__acc__config.htm#a22961bb72ea75f7ca7008464f081ca06 > this parameters control rewrite based on STUN results or Via header of > REGISTER response. > > I would like to disable contact rewriting based on response's Via > header, but enable it for STUN. Is there a way to do this? > I think it will do exactly that if you set it to zero, i.e. the Contact will be filled by the STUN resolved address, and it won't be updated by the REGISTER response. -Benny