This issue typically occurs in scenarios when a single Virtual Service is configured to handle both UDP and TCP transport protocols for SIP traffic.
Workaround
Create two separate SIP Virtual Servers (VS) sharing the same VIP:
One VS configured with a UDP network profile, associate it with the pool1
One VS configured with a TCP network profile, associate it with the pool2
Reference techdoc for configuring SIP Load balancer: Configuring-Avi-Load-Balancer-for-SIP
Fix
The bug is fixed in 31.2.1-2p2. Please refer Avi load balancer release notes in reference to bug ID: AV-260602
Release-notes-for-avi-load-balancer-version-31-2-1