What we have now: A group of SIP proxies are configured for the GTM. GTM monitors these SIP proxies regularly using SIP OPTIONS. A SIP Proxy is considered UP and working (100%) if it responds to SIP OPTIONS with 200 OK. If there is no response, it is considered down.
Following modification is needed: The SIP Proxy will return the “availability factor” (100% available or 75% available or 50% available etc) in the SIP OPTIONS response. Based on the availability factor GTM needs to load balance the SIP traffic to the SIP proxies.
Is it possible for the GTM parse the SIP OPTIONS response and get the availability factor? Is yes, how can this be implemented? I see that iRules has only the following operations - SIP::response code, SIP::response phrase and SIP::response rewrite code