Example of forking a call using lateroute
From Yate Documentation
regexroute.conf holds:
[default] ^100$=fork lateroute/201 | lateroute/202 | sip/sip:\0@my.gateway
The call will first attempt to reach the 201 number through whatever routing possible - usually some form of registration. Then it will repeat for number 202 and only finally it will be directed to 100 at the gateway. Exact route and parameters for 201 and 202 don't have to be known in advance