Voip Destination-pattern Command

Hi,
Could anyone please give me an advice how to configure a destination-pattern for number (for example) 5015-5025 ?
so far I input "destination-pattern 501[5,6,7,8,9]" and it works fine... but I don't know which wildcard symbol to continue from 5020 until 5025...
Please help...
Thanks in advance...
Could anyone please give me an advice how to configure a destination-pattern for number (for example) 5015-5025 ?
so far I input "destination-pattern 501[5,6,7,8,9]" and it works fine... but I don't know which wildcard symbol to continue from 5020 until 5025...
Please help...
Thanks in advance...
Comments
Seeing the number range is broken across 2 10's groups unfortunately you'll need to do 2 dial-peers;
Where possible I always try to divide extn ranges at a 10's boundary for manageability.
However, I do have another question
Do you or anyone knows the command/feature how to re-route voice packet to certain interface/link...
for example...
CityA
CityB
CityC --> State A
|(backup link)
|(main link)
|
|
|
|
CityD
CityE
CityF --> State B
All Voip/FXS calls from CityA(in StateA) to CityF(in StateB) must use "main link" in "CityB" but if the "main link" from "CityB" to "CityE" is down then the call will be re-routed from "CityA" to "CityD" which is the "backup link".
Thanks again in advance for your input....
Assuming the main link had a higher bandwidth than the backup link the routing protocol would do it all for you.
Previous : Passed Configuring Microsoft Office SharePoint Server 2007 (70-630)
Currently : EIGRP & OSPF
Next : CCNP Route
That being said there is a default 15secs fail-over time for the VoIP. You can change that setting.
You could also use the following to overflow calls from the primary to the secondary links.
This is well beyond what is required for CCNA-Voice though.
I will try your advice...