cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
506
Views
5
Helpful
6
Replies

problems to make calls with ATA H323 and a difficult topology

david.sua
Level 1
Level 1

Hi all, I have been testing for hours but I can't solve the problem.

I am trying to make a call from an ATA to the PSTN, the ATA is connected to a UC500 and the PSTN is connected to a Cisco 2800 Router.

This is the scenario

ATA ------- CME --------C1801 -----vpn------- C2811 with 4FXO ----- PSTN (941519151)

Well, when i make a call with an ephone registered into CME to number 941519151, the call works well but when i make the same call from a phone connected to the ATA the call doesn't work.

I have this configuration,

CME:

dial-peer voice 97 voip
description ATA

destination-pattern 151
session target ipv4:192.168.254.45
incoming called-number .
!
dial-peer voice 103 voip
destination-pattern 9........
session target ipv4:10.42.0.6
!
dial-peer voice 104 voip
destination-pattern 6........
session target ipv4:10.42.0.6
!
dial-peer voice 105 voip
destination-pattern 5...
session target ipv4:10.42.0.6
!
dial-peer voice 102 voip
destination-pattern 5...
session target ipv4:10.42.0.6
!

C2811

dial-peer voice 1120 pots
destination-pattern 9........
no digit-strip
port 0/1/0
prefix 0
!
dial-peer voice 1121 pots
preference 1
destination-pattern 9........
no digit-strip
port 0/1/1
prefix 0
!
dial-peer voice 1122 pots
preference 2
destination-pattern 9........
no digit-strip
port 0/1/2
prefix 0
!
dial-peer voice 1123 pots
preference 3
destination-pattern 9........
no digit-strip
port 0/1/3
prefix 0
!

I attach an debug voip dialpeer all from C2811, i don't know how to interpret this debug.

Somebody has any idea?

6 Replies 6

Sounds like a loop. Your debug says:

Calling Number=151, Called Number=941519151

Is Incoming=TRUE

Incoming Dial-peer=97 Is Matched  --> voip call leg from ATA to CME - 97 is a CME dial-peer

List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=1120  ---> 1120 etc are 2811 dial-peers
     2: Dial-peer Tag=1121
     3: Dial-peer Tag=1122
     4: Dial-peer Tag=1123

after matching:

Calling Number=, Called Number=941519151

Is Incoming=FALSE

List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=1120
     2: Dial-peer Tag=1121
     3: Dial-peer Tag=1122
     4: Dial-peer Tag=1123

after matching:

Calling Number=941519151, Called Number=941519151  <--- loop ?

Is Incoming=FALSE

List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=1120
     2: Dial-peer Tag=1121
     3: Dial-peer Tag=1122
     4: Dial-peer Tag=1123

after matching:

Calling Number=941519151, Called Number=,

Is Incoming=TRUE

Result=Success(0); Incoming Dial-peer=1120 Is Matched
Result=Success(0); Incoming Dial-peer=1121 Is Matched
Result=Success(0); Incoming Dial-peer=1122 Is Matched
Result=Success(0); Incoming Dial-peer=1123 Is Matched

  List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=1120
     2: Dial-peer Tag=1121
     3: Dial-peer Tag=1122
     4: Dial-peer Tag=1123

after matching:

Calling Number=, Called Number=151

Calling Number=941519151, Called Number=,

Is Incoming=FALSE

List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=97
     2: Dial-peer Tag=111

after matching:

Calling Number=, Called Number=94151915

Is Incoming=FALSE

List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=1120
     2: Dial-peer Tag=1121
     3: Dial-peer Tag=1122
     4: Dial-peer Tag=1123

after matching:

Calling Number=, Called Number=151,

Is Incoming=FALSE

List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=97
     2: Dial-peer Tag=111

after matching:

Calling Number=, Called Number=941519151

Is Incoming=FALSE

List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=1120
     2: Dial-peer Tag=1121
     3: Dial-peer Tag=1122
     4: Dial-peer Tag=1123

after matching:

Calling Number=151, Called Number=

etc. etc.

Calling Number=9........, Called Number=

Result=NO_MATCH(-1) After All Match Rules Attempt

What router produces the debug output? CME or 2811 or both?
I've a doubt.
In debug you can see that the call matches dial-peer 97 and dial-peer 1120 (top of debug).
But in your config the dial-peer 97 is configured on the CME, while the dial-peer 1120 is configured on 2811.

this debug is from C2811, and i have a dialpeer 97 in both routers

this is the dialpeer 97 in C2811

dial-peer voice 97 voip
description pruebasdavid
destination-pattern 151
session target ipv4:192.168.254.45
incoming called-number .

thank you for your attention

Can you capture the output of the command "show voice call status" during call attemp?

Thanks.

This is the output of "show voice call status" from C2811

0xAC       171F 0x480C102C 0/1/0            0/1:2  *941519151  None           97/1120

and, if i delete dialpeer 97 from C2811 this is the output

CallID     CID  ccVdb      Port        Slot/DSP:Ch  Called #   Codec    MLPP Dial-peers
0xBC       2637 0x480C102C 0/1/0            0/1:1  *941519151  None           111/1120

where dialpeer 111 is

dial-peer voice 111 voip
destination-pattern 1..
session target ipv4:10.40.0.6 <---- That is the IP of CME
!

Can you capture the same debug and the same output of the show command during a call starting from an IPPHONE?

I would compare results.

the problem was in the codec.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: