Recursion using LRTs
Hello!
I'm working on an scenario with multiple next hops to be tested (they must answer SIP, it doesn't matter if it sends back an error response), so LRT should get the job done.
Lookign at one of the bcp examples:
<!-- This route tries a second next-hop if the first fails -->
<!-- For example, 18007778888 and 18009 will first be sent to sip:tollfree@nexthop.com -->
<!-- if that fails, it will be sent to sip:tollfree@secondhop.com -->
<route>
<user type="E164">1800</user>
<next type="regex">!^.*$!sip:tollfree@nexthop.com!</next>
<next type="regex">!^.*$!sip:tollfree@secondhop.com!</next>