Re: [OpenSIPS-Users] Via header IP

2024-02-28 Thread Bogdan-Andrei Iancu
Hi Jason, Not sure about that, as time as I'm not sure about the misbehavior here. Usually the "advertising" per message is tricky to use because there is no persistence (across sip packages) of the advertising you did on the request. The best / safer way to go is with advertising per

Re: [OpenSIPS-Users] Via header IP

2024-02-26 Thread nz deals
Hi Bogdan, Do you believe that removing the 'advertised_address' from the global configuration will solve the issue? Regards, Jason On Sat, 24 Feb 2024 at 10:09, nz deals wrote: > Here it is > version: opensips 3.4.2 (x86_64/linux) > git revision: 8a6e78dde > > > Regards, > Jason > > On

Re: [OpenSIPS-Users] Via header IP

2024-02-23 Thread nz deals
Here it is version: opensips 3.4.2 (x86_64/linux) git revision: 8a6e78dde Regards, Jason On Sat, 24 Feb 2024 at 01:53, Bogdan-Andrei Iancu wrote: > What version / revision (opensips -v) do you have there ? > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer >

Re: [OpenSIPS-Users] Via header IP

2024-02-23 Thread Bogdan-Andrei Iancu
What version / revision (opensips -v) do you have there ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 23.02.2024 14:02, nz deals wrote: Hi Bogdan, The opensips is only listening on 192.xx. internal ip. It is

Re: [OpenSIPS-Users] Via header IP

2024-02-23 Thread nz deals
Hi Bogdan, The opensips is only listening on 192.xx. internal ip. It is Google VM so the public IP 202.x is assigned. Yes, that is correct. I advertise from a script like set_advertised_address("192.x") but I have the following in the config. advertised_address=202.x alias=202.x Yes, I use

Re: [OpenSIPS-Users] Via header IP

2024-02-23 Thread Bogdan-Andrei Iancu
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

[OpenSIPS-Users] Via header IP

2024-02-22 Thread nz deals
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