[OpenSIPS-Users] Via header IP

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Feb 23 11:53:23 UTC 2024


Hi Jason

So you advertise fro m script the 192.x address and also have the global 
advertise with 202.x ? is you opensips listening on a totally different IP?

And for the INVITE and CANCEL, you use t_relay(), right ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 22.02.2024 23:08, nz deals wrote:
> Hello everyone,
>
> I have a weird issue, when i send the invite i force the following.
> set_advertised_address("192.168.XX.XX");
> so it is using my internal IP in the VIA.
>
> When i send CANCEL, it is using my Public IP which is also defined in 
> the config as a global. advertised_address=202.xx.xx.xx
> alias= 202.xx.xx.xx
>
> Anyway to fix my CANCEL's VIA so it starts using my internal ip i.e 
> 192.168.xx.xx ?
> I tried it manually via setting set_advertised but it does not get 
> changed on CANCEL.
>
> Thanks.
>
> Regards,
> Jason
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list