Why is my weighted LRT not working?
Could you help me spot what is wrong with my weighted LRT logics? Local-policy is not finding a match for this user. The intent is to load lance 50/50. Do you see any obvious issue? Thanks.
local-routing-config
name iax
file-name iax.xml.gz
prefix-length 10
string-lookup enabled
retarget-requests disabled
match-mode best
local-policy
from-address *
to-address 489999999
source-realm carrier1
description
activate-time
deactivate-time
state enabled
parallel-forking disabled
policy-priority none
policy-attribute
next-hop lrt:iax;key=$TO
realm iax
<?xml version="1.0" encoding="UTF-8"?><localRoutes>
<route format="weighted">
<user type="E164">489999999</user>
<next prio="0" weight="50" type="regex">!^.*$!sip:\\0@SAG-iax!</next>
<next prio="0" weight="50" type="regex">!^.*$!sip:\\0@SAG-prod!</next>
</route>