Mario
Oct 26, 2020Nimbostratus
verify the length of a value in the header
Currently I need an iRule that verifies the amount of characters that a field has in the header, if a cell phone number arrives (10 digits) it is redirected to a VS, but if a land line number arrives (7 digits) it is redirected to another VS, is it possible to make an irule for this?
Header:
<name>operatorUserId</name>
<singleValue>+573xxxxxxxxx</singleValue>
</values>
<values>
<name>providerUserId</name>
<singleValue>+573xxxxxxxxx</singleValue>
</values>