Options

Voip Destination-pattern Command

softestpleasesoftestplease Member Posts: 14 ■□□□□□□□□□
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...

Comments

  • Options
    azaghulazaghul Member Posts: 569 ■■■■□□□□□□
    Hi,

    Seeing the number range is broken across 2 10's groups unfortunately you'll need to do 2 dial-peers;
    dial-peer voice 501 pots/voip
     destination-pattern 501[5-9]
     exit
    dial-peer voice 502 pots/voip
     destination-pattern 502[0-5]
     exit
    

    Where possible I always try to divide extn ranges at a 10's boundary for manageability.
  • Options
    softestpleasesoftestplease Member Posts: 14 ■□□□□□□□□□
    Thanks azaghul for your help...

    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....
  • Options
    mikem2temikem2te Member Posts: 407
    You could let a routing protocol (eigrp / ospf) to handle failover or load balancing the voice packets, they are IP based after all.

    Assuming the main link had a higher bandwidth than the backup link the routing protocol would do it all for you.
    Blog : http://www.caerffili.co.uk/

    Previous : Passed Configuring Microsoft Office SharePoint Server 2007 (70-630)
    Currently : EIGRP & OSPF
    Next : CCNP Route
  • Options
    azaghulazaghul Member Posts: 569 ■■■■□□□□□□
    I'd agree with mike, let the routing protocols handle the fail-over.

    That being said there is a default 15secs fail-over time for the VoIP. You can change that setting.
    [FONT=Courier New]voice class h225 <vtag>
     [/FONT][FONT=Courier New]h225 timeout tcp established <sec>[/FONT]
    [FONT=Courier New] exit[/FONT]
    [FONT=Courier New]dial-peer voice <tag> voip[/FONT]
    [FONT=Courier New] desc *** primary link ***
     v[/FONT][FONT=Courier New]oice-class h225 <vtag>[/FONT]
    [FONT=Courier New] exit[/FONT]
    
    You could also use the following to overflow calls from the primary to the secondary links.
    [FONT=Courier New]dial-peer voice <tag> voip
     desc *** primary link ***
     preference 0
    [/FONT][FONT=Courier New] exit
    dial-peer voice <tag> voip
     desc *** secondary link ***
     preference 1
     [/FONT][FONT=Courier New]exit[/FONT]
    
    This is well beyond what is required for CCNA-Voice though.
  • Options
    softestpleasesoftestplease Member Posts: 14 ■□□□□□□□□□
    Thanks mikem2te and azaghul for your response

    I will try your advice...
Sign In or Register to comment.