restrict allow_contact_rewrite() to STUN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux