[quote author=Junaid link=topic=9368.msg42311#msg42311 date=1455739078]
[b]@ hsujdik[/b]
Quite close. Yes cloud SIP server has two IP address but not NATed in which one is use to communicate with client environment.
As you quote "If this is the case, firewalls usually maintain a NAT connection table, where the connections expire after a certain timeout". If I got your point then why Endpoint receives next call 'INVITE'?. I also tried your suggestion by lowering [b]session-refresh-interval[/b] from 1800 to 90 keeping [b]session-refresh-enforced[/b]= true but in results call was not routing to queue :(production he bhai

). Can you please suggest any reference/document for NATing w.r.t Genesys .
[/quote]
Uh oh! Well, there was a warning on the SIP Dep Guide, so my fault on that.
I don't have a documentation though. I based on some changes we had to do on both SIP and our firewall on a NATed environment, because the session (and register) refresh was bigger than our firewall bind timeout for UDP, the firewall docs and the RFC 3581
About the next INVITE, what I understood is that the agent didn't even receive it. But reading carefully again, you said that only the BYE message is not received. Perhaps there was another REGISTER between the BYE and the INVITE? That's the only thing I can think of.
Do you have traces from the current version vs. old version?
Another thing to look on NAT environment is if RPORT parameter is present on Via header of the SIP messages. RPORT needs to be used if the firewall re-maps the source port to other than your SIP port while performing the NAT conversion, and without any value - RFC 3581 - https://www.ietf.org/rfc/rfc3581.txt
Also, the reason why I commented about the options in SIP Endpoint is because of the following from this RFC
If used for UDP registrations, a client will need to frequently
re-register in order to keep the NAT bindings fresh. In many
cases, these registrations will need to take place nearly one
hundred times more frequently than the typical refresh interval of
a registration. This introduces load into the system and hampers
scalability.
I have had issues with some SIP Phones + NAT, while on the same environment other SIP Phones were working as expected, depending on how they sent the REGISTER messages and re-INVITES. Finally, we had it working by tuning the options I mentioned.