Options

Dial Planning help

badsectorbadsector Member Posts: 11 ■□□□□□□□□□
Dear Guys,

Got a new pilot#, received 100 numbers. My box is Cisco AS5350 running IOS 12.4T.

Say my new number block is: 1234621-1234721
How can i configure the dial plan under dial-peer? Did i miss something in my config? Im stuck, need help.

!
dial-peer voice 1 pots
destination-pattern T
translate-outgoing calling 6
translate-outgoing called 5
no digit-strip
direct-inward-dial
port 3/1:d
forward-digits all

!
dial-peer voice 2 voip
destination-pattern 12346T
translate-outgoing calling 1
translate-outgoing called 4
voice-class codec 1
session protocol sipv2
session target ipv4icon_mad.gif.x.x.x
dtmf-relay rtp-nte
fax-relay ecm disable
fax rate 14400
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
no vad
!
dial-peer voice 14 voip
destination-pattern 12347T
translate-outgoing calling 1
translate-outgoing called 4
voice-class codec 1
session protocol sipv2
session target ipv4icon_mad.gif.x.x.x
dtmf-relay rtp-nte
fax-relay ecm disable
fax rate 14400
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
no vad
!

I appreciate your help.

Thanks a lot.
Network and Security Engineering

Comments

  • Options
    badsectorbadsector Member Posts: 11 ■□□□□□□□□□
    Guys any idea? Thanks
    Network and Security Engineering
  • Options
    badsectorbadsector Member Posts: 11 ■□□□□□□□□□
    how about this dial plan for the block 1234621-1234721 ?

    destination-pattern 1234[6-7]21
    Network and Security Engineering
  • Options
    LuckycharmsLuckycharms Member Posts: 267
    I am not really sure what you are asking... (maybe because its late but .. still don't understand)

    Are you wondering why it isn't working?? ( I would first look at what you are sending out to the PSTN ie... translation-patterns affecting DNIS??) If you would clarify I will help you..
    debug voice dialpeer inout = output to a syslog server...

    destination-pattern 1234[6-7]21 ==> that only matches 1234621 and 1234721 and that's it... and you don't usually put a dash in between consecutive numbers if they are the only ones being match'ed.. its usually done for a range. ie [1-9]
    The quality of a book is never equated to the number of words it contains. -- And neither should be a man by the number of certifications or degree's he has earned.
  • Options
    badsectorbadsector Member Posts: 11 ■□□□□□□□□□
    Hi Thanks for the reply.

    1234621-1234721

    How can i match this block then? I really appreciate your response.
    Network and Security Engineering
  • Options
    LuckycharmsLuckycharms Member Posts: 267
    there are about 100 different ways you could set this up..

    destination-pattern 12346[2-9].
    destination-pattern 12347[0-2].

    You wouldn't do the following.

    destination-pattern 1234[67]..
    The quality of a book is never equated to the number of words it contains. -- And neither should be a man by the number of certifications or degree's he has earned.
Sign In or Register to comment.