Example of forking a call using lateroute

From Yate Documentation
Revision as of 10:04, 18 October 2012 by Dana (talk | contribs) (Created page with " 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 rou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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