Hello,
maybe i don't understood completely the use of Advertise parameter.
We use it only if Kamailio is behind a NAT and Kamailio have to comunicate over is PublicIP with provider, other SIP proxy and PBX but never to accept Users REGISTER.
Is it right?
Regards
On Thu, 2020-06-25 at 09:23 -0500, Social Boh wrote:
Hello,
maybe i don't understood completely the use of Advertise parameter.
We use it only if Kamailio is behind a NAT and Kamailio have to comunicate over is PublicIP with provider, other SIP proxy and PBX but never to accept Users REGISTER.
Is it right?
Regards
You could use it for all communication, regardless of method... so if behind NAT, it would certainly make sense to use advertise for registers.
The most common use scenario would be when the kamailio server is NAT'd and needs to advertise a public IP, however there are other use cases when it can be utilized as well.
--fred
Sorry for private message, Fred
Thank you for your answer.
You could use it for all communication, regardless of method... so if behind NAT, it would certainly make sense to use advertise for registers.
you means outbound register because behind NAT kamailio can't accept inbound register over public IP, right?
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
On Thu, 2020-06-25 at 11:22 -0500, Social Boh wrote:
Sorry for private message, Fred Thank you for your answer.
You could use it for all communication, regardless of method... so if behind NAT, it would certainly make sense to use advertise for registers.
you means outbound register because behind NAT kamailio can't accept inbound register over public IP, right?
The whole point of advertise is it will allow the inbound traffic to work (including REGISTER) assuming you have your NAT forwarding set-up properly on whatever network device is handling this translation.
--fred