Question :If kamailio is behind a double NAT setupInternet - (Model-router : NAT 1) - (router - NAT2) - kamailioCould I use this settings ?- For public softphone :listen=udp: IPv4_private: 5060 advertise IPv4_public : 5060
Domain : IPv4_public:5060- For private softphone on same vlan as kamailio
listen=udp: IPv4_private:5066Domain : IPv4_private:5066__________________________________________________________On Sat, Mar 5, 2022 at 1:23 AM Youssef Boujraf <yboujraf@gmail.com> wrote:Dear,Then;- For public softphone :listen=udp: IPv4_private: 5060 advertise IPv4_public : 5060
Domain : IPv4_public:5060- For private softphone on same vlan as kamailio
listen=udp: IPv4_private:5066Domain : IPv4_private:5066On Fri, Mar 4, 2022 at 3:00 PM Youssef Boujraf <yboujraf@gmail.com> wrote:Hi DearI am trying to understand how "listen" and "advertise" work for sip signaling purpose ( corebooks : listen and advertise )Flow : kamailio behind NAT using softphones on private and public networks.- kamailio :Network :IPv4_private 192.168.1.6 / IPv4_publickamailio.cfg :listen=udp: IPv4_private: 5060 advertise IPv4_public : 5060- uac (softphone) :zoiper, microsip, cisco spa508gUSE CASE :I 'd like to force all softphone on the same local network to reach kamailio through a public ip address.??? QUESTION : Do I need to REGISTER on IPv4_private address of Kamailio OR REGISTER on IPv4_public address of kamailio or DEFINE another "listen" with another PORT WITHOUT "advertise" for softphone on same kamailio network ?listen=udp: IPv4_private: 5060 advertise IPv4_public : 5060listen=udp: IPv4_private: 5066Do I need to use "kamctl ps" to verify which interface is listening on port ?Thanks in advance
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users