Looking at Locations I am not sure they can 100% met my requirements?
Here are the requirements:
P.S. I know I could achieve the requirements using Prepend digits and a SIP Server Groups for each site with different SRV Priority (prioritizing the local device). But I am interested if Locations is a better way to achieve the same.
Each site has a Cisco 2900 (PSTN & VXML Gateway) & CUBE (4300).
Calls Originating on each of the 2900 source should use the same Device for VXML.
Since this device is known to be up, there is no need for any backup VXML Gateway for these calls.
Calls Originating from the CUBE should use their Local (2900) VXML Gateway.
if their local 2900 is out of service, they should use 1 of the other 2 2900s.
Can you outline a little further how you could achieve this using Locations?
1) you add VXML (2900) and CUBE (4300) Gateways to "Gateways"
2) you create your Locations
3) You add gateways to Location
Great. Many thanks. That is clear. So the VRU label will be prefixed with the Site ID and I can handle exactly how I want to route that via Route Patterns and SIP groups and use DNS SRV priorities.
Is the Prefix stripped prior to sending out to the VXML Browser?
i.e. if not, then you need to create multiple VRU dial-peers or use wild card (easy to do) in the dial-peer, and on a VVB you would need to change or add additional numbers and not just rely on the default 7777777777* number.
I believe the prefix is sent. The option to have Site ID appended onto the VRU label but inserted before the correlation ID means you can still have a single wildcarded match on the gateways but personally I think suffixing rather than prefixing is a pretty unnatural practice when it comes to location-based dial-plans. I do recognise it might be preferable to make config changes simpler though.