[OpenSIPS-Users] how to modify a Via header?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Mar 24 12:45:51 CET 2010


Hi,

if you want to do ipv4 -> ipv6 you do not need to change the previous 
VIA headers. That is illegal. Also OpenSIPS will correctly generate its 
own VIA, so there is no need to make changes by yourself to the VIA headers.

you just need to forward to an ipv6 address....

Regards,
Bogdan

CheeWii wrote:
> Hi!
> Now I use opensips as a v4-v6 gateway.so I want to change every ipv4 
> address in VIA header to ipv6 address. How can I accomplish this?
> For example:
> Via: SIP/2.0/UDP 192.25.132.227:5069;branch=z9hG4bKdf6e.49b8c2c2.0
> --------->
> Via: SIP/2.0/UDP 
> [2002:da8:214:1115:b0cc:8604:1fc9:6448]:5069;branch=z9hG4bKdf6e.49b8c2c2.0
> Thanks a lot!
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list