Re: [OpenSIPS-Users] mid_registrar and vpn and nat

2023-01-03 Thread Bogdan-Andrei Iancu
Hi Alberto, Yes, in the registration record the Contact URI is kept as received and the "fixed" src IP is stored into the "received" field. Upon lookup the contact URI goes into RURI (as you observed) and the "received" goes into dst_uri (destination URI) or $du. When OpenSIPS relays, the $du

[OpenSIPS-Users] mid_registrar and vpn and nat

2022-12-13 Thread Alberto
Hi, I have a problem with a vpn setup, not really nat, or maybe it's nat... The setup I have is: Phone - openvpn - opensips - public internet - asterisk openvpn subnet: 10.0.0.0/24 openvpn server: 172.172.0.2/24 opensips server: 172.172.0.10/24 In my configuration I have: loadmodule