Hi All,
I'd like to ask the guru's out there their opinion on how to solve the nat problem for presence subscriptions.
We have an issue with subscriptions that get timed out and the notify clears the subscription out of the active_watchers table due to the notify timing out, I think this is expected and the right way to do it. However, how do others out there ensure that their subscription nat states are kept alive? For registrations we have nathelper, but, what is the sanest way of doing the same for subscriptions?
I was originally thinking of sending notifications through our registrar/lookup server, but, I'm not sure if that is the correct way to do it.
Any thoughts, tips, tricks would be much appreciated.
Cheers
Hello,
you have presence server configured as a different address in client than the register? Typically the register and subscribe go same path up to register and from there the subscribe si forwarded to a dedicated presence server, if it is the case.
Cheers, Daniel
On 14.11.17 12:54, Asgaroth wrote:
Hi All,
I'd like to ask the guru's out there their opinion on how to solve the nat problem for presence subscriptions.
We have an issue with subscriptions that get timed out and the notify clears the subscription out of the active_watchers table due to the notify timing out, I think this is expected and the right way to do it. However, how do others out there ensure that their subscription nat states are kept alive? For registrations we have nathelper, but, what is the sanest way of doing the same for subscriptions?
I was originally thinking of sending notifications through our registrar/lookup server, but, I'm not sure if that is the correct way to do it.
Any thoughts, tips, tricks would be much appreciated.
Cheers
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi,
On 15/11/2017 07:59, Daniel-Constantin Mierla wrote:
Hello,
you have presence server configured as a different address in client than the register?
Currently our setup is a proxy server in front of 3 registrar servers and a seperate, single, presence server. On the proxy we forward REGISTER to the registrars using dispatcher, and PUBLISH/SUBSCRIBE over to the presence server. On the client we have the address of the proxy defined for registration and presence.
Typically the register and subscribe go same path up to register and from there the subscribe si forwarded to a dedicated presence server, if it is the case.
When you mention SUBSCRIBE is forwarded to registrar above, do you mean that we save the subscription aor using the registrar/usrloc module(s) before forwarding to presence server? I don't see anything in the documentation for subscriptions, or does it even matter what sip method hist the registrar/usrloc when saving?
If we are able to save subscriptions in urloc, when the standalone presence server sends a notify out, is it then expecting to perform a registrar lookup for aor details before relaying?
Thanks
Hello,
Just a thought, have you looked at the nat_traversal module? It's worked well for us in similar scenarios.
Cheers, Charles
On 15 November 2017 at 09:11, Asgaroth 00asgaroth00@gmail.com wrote:
Hi,
On 15/11/2017 07:59, Daniel-Constantin Mierla wrote:
Hello,
you have presence server configured as a different address in client than the register?
Currently our setup is a proxy server in front of 3 registrar servers and a seperate, single, presence server. On the proxy we forward REGISTER to the registrars using dispatcher, and PUBLISH/SUBSCRIBE over to the presence server. On the client we have the address of the proxy defined for registration and presence.
Typically the register and subscribe go same path up
to register and from there the subscribe si forwarded to a dedicated presence server, if it is the case.
When you mention SUBSCRIBE is forwarded to registrar above, do you mean that we save the subscription aor using the registrar/usrloc module(s) before forwarding to presence server? I don't see anything in the documentation for subscriptions, or does it even matter what sip method hist the registrar/usrloc when saving?
If we are able to save subscriptions in urloc, when the standalone presence server sends a notify out, is it then expecting to perform a registrar lookup for aor details before relaying?
Thanks
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users