[OpenSIPS-Users] How to force opensips add port field in via header?

Iñaki Baz Castillo ibc at aliax.net
Tue Feb 2 12:25:52 CET 2010


El Martes, 2 de Febrero de 2010, Lei Tang escribió:
>   Hi everyone, I'm using opensips 1.6.
>   When I send sip msg by call forward function, opensips add Via header in
> sips message like "Via: SIP/2.0/UDP
> 10.37.143.6;branch=z9hG4bKSS1vtZ6ZQ98rp."
>    THE QUESTION IS: How can I make opensips add the port field to the VIA
> header even my sip port is 5060? This mean, the VIA header should be
>   "Via: SIP/2.0/UDP 10.37.143.6*:5060*;branch=z9hG4bKSS1vtZ6ZQ98rp."
>    Does someone can give me some advice about this question? Thank a lot!
> 

There is a core parameter for that, I can not remember now the name but you 
can find it in the wiki (cookbook section).

-- 
Iñaki Baz Castillo <ibc at aliax.net>



More information about the Users mailing list