×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Problems with m first IP telephony impl. after Cisco-IP Certification

Unanswered Question
May 4th, 2007
User Badges:

Hello,


I am implemanting my first small IP telephony network, and I am having a lot of trouble doing it. The telephone I use are able to contact each other. I receive all my calls to the same phone (I have not yet implemented Voice messages), and I can make local calls to the outside, but I am not able to make long distance calls. I did read a lot on the "Dial-Peers", and Dial-Patterns, and transfer-pattern, and tried a lot of things, but still not able to do long distance calls.


So, if some one could look at my config-file and give me a hint on what is wrong, it would be appreciated.


Thank you.


Gabriel


P.S. Excuse my not too good english



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
rchilcote Fri, 05/04/2007 - 20:51
User Badges:
  • Bronze, 100 points or more

I think all of your long distance calls are matching dial-peers 15, 17, and 19, and not sending the last digit, since they are a more specific match. Use the "show dialplan number 12125551212#" command to determine which dial-peers are matching and in what order.


Some other helpful show and debug commands:

show call active voice (Once a call is active)

show dial-peer voice summary

debug voice ccapi inout


Placing ONLY a series of the . wildcard in a dial-peer is never a good idea. You need to be more specific. If you're not going to have an access pattern like 9 then try some of these patterns:


1[2-9]..[2-9]...... (For LD)


[2-9]..[2-9]...... (For 10 digit local calls)


[2-9]...... (For 7 digit local calls)


Don't use both the 10 digit and 7 digit examples above together in the same dial plan since they will also not work well together. You need to determine which patterns work best in your area. I'm also making an assumption that your using the NANP.


It would also be a good idea to place preference values on your dial peers so the outbound calls are more predictable. Also, don't forget emergency services number.


Hope this helped.

g.lacoursiere Sat, 05/05/2007 - 07:28
User Badges:

Thank you wery much, caus all of your tips help solve the problem.


I have re-arrange my dial-peer It works fine, but if you could confirm that it's good.


dial-peer voice 5 pots

destination-pattern [2-9]..[2-9]......

port 0/0/0

forward-digits all

!

dial-peer voice 7 pots

destination-pattern [2-9]..[2-9]......

port 0/0/1

forward-digits all

!

dial-peer voice 9 pots

destination-pattern [2-9]..[2-9]......

port 0/0/2

forward-digits all

!

dial-peer voice 15 pots

destination-pattern 1[2-9]..[2-9]......

port 0/0/0

forward-digits all

!

dial-peer voice 17 pots

destination-pattern 1[2-9]..[2-9]......

port 0/0/1

forward-digits all

!

dial-peer voice 19 pots

destination-pattern 1[2-9]..[2-9]......

port 0/0/2

forward-digits all

!

dial-peer voice 1 pots

preference 1

destination-pattern 911

port 0/0/0

forward-digits all

!

dial-peer voice 2 pots

preference 2

destination-pattern 911

port 0/0/1

forward-digits all

!

dial-peer voice 3 pots

preference 3

destination-pattern 911

port 0/0/2

forward-digits all

!

dial-peer voice 111 pots

destination-pattern 411

port 0/0/1

forward-digits all

!

dial-peer voice 112 pots

destination-pattern 411

port 0/0/2

forward-digits all

!

dial-peer voice 113 pots

destination-pattern 411

port 0/0/1

forward-digits all

!


Thank you again for your time



rchilcote Sat, 05/05/2007 - 12:56
User Badges:
  • Bronze, 100 points or more

This looks fine. The only other thing you should add are international dial-peers if you expect those types of calls.

Example:

dial-peer voice 1001 pots

destination-pattern 011T

port 0/0/1

prefix 011


The T wildcard is mainly for variable length pattern matching like international calls are. The prefix 011 command will add a 011 back onto the dialed number since pots dial peers will strip any specific leading digits that are not wildcards.


You're welcome. Glad to help.

paolo bevilacqua Sat, 05/05/2007 - 14:34
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

I have a tiny nitpick to rchilcote's good advice. When you make the international DP, add some dots (like 6 or 7) after the prefix:

destination-pattern 011......T


This will prevent misdialed calls with short numbers from even hit telco. Not much change, but right to have.


Have fun with your 1st IPT project!


Hope this helps, please rate post if it does!


Actions

This Discussion