Event and action using a iRule
Hello to all:
We are Load Balancing a Genesys SIP Server using LTM, but in our architecture we have found a problem with the default configuration recommended by Genesys. An iRule is creating a UDP session between the active SIP Server and our SBC, that, when a switchover occurs in the SIP Servers, this session makes the Virtual Service not to work properly with the new SIP Server active. The only way to make it work is accessing to the CLI, and introduce a "delete /sys connection cs-client-addr SIP-SERVER-IP-ADDRESS cs-client-port 5060 cs-server-addr SBC-IP-ADDRESS cs-server-port 5060" in the tmsh console.
Is there any way that we can do this using an iRule? I expect that it could exist an EVENT related to a creation of a connection entry in the connection table, and an action command to delete this connection
Thanks for your help