Weird problem with call failing when matching an inbound dial-peer?

Unanswered Question
May 29th, 2007

Hi Everyone,

Got a strange problem here that I need some fresh brains to look at! Basic setup is Voice Gateway with an E1 for PSTN access coming into CM4.1(3) via MGCP. CM has some route patterns which sends a range of numbers via H323 to a CCME box where there are 10 IP phones.

The problem is that when a call comes in from a CM ip phone to a CCME ip phone the calls works. If the call comes in from an external number it doesnt.

So we have a dial peer 102 that is used to send calls from CCME to CM for extensions 12XXX.

If a call comes in from an external number say 12248123456 to extension 345

I get the followinf debug.

dial-peer voice 102 voip

description Trunk

session target ipv4:20.230.201.55

incoming called-number 12...

May 22 15:27:29.082: //-1/000C5DF2C200/DPM/dpAssociateIncomingPeerCore:

Calling Number=12248123456, Called Number=375, Voice-Interface=0x0,

Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

Peer Info Type=DIALPEER_INFO_SPEECH

May 22 15:27:29.086: //-1/000C5DF2C200/DPM/dpAssociateIncomingPeerCore:

Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=102

May 22 15:27:29.086: //-1/000C5DF2C200/DPM/dpAssociateIncomingPeerCore:

Calling Number=12248123456, Called Number=375, Voice-Interface=0x0,

Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

Peer Info Type=DIALPEER_INFO_SPEECH

May 22 15:27:29.086: //-1/000C5DF2C200/DPM/dpAssociateIncomingPeerCore:

Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=102

May 22 15:27:29.094: //-1/000C5DF2C200/DPM/dpMatchPeersCore:

Calling Number=, Called Number=375, Peer Info Type=DIALPEER_INFO_SPEECH

May 22 15:27:29.098: //-1/000C5DF2C200/DPM/dpMatchPeersCore:

Match Rule=DP_MATCH_DEST; Called Number=375

May 22 15:27:29.098: //-1/000C5DF2C200/DPM/dpMatchPeersCore:

Result=Success(0) after DP_MATCH_DEST

May 22 15:27:29.098: //-1/000C5DF2C200/DPM/dpMatchPeersMoreArg:

Result=SUCCESS(0)

List of Matched Outgoing Dial-peer(s):

1: Dial-peer Tag=20004

Phone picked up at this point. The phone is dead and the debug keeps running with the above output in a loop.

If I add incoming called-number 365 to the dial peer I get a similar output

If I simply remove destination-pattern from dial-peer so that all I have is

dial-peer voice 102 voip

description Trunk

It works and I get the following but obviously the outbound dial-peer no longer works.

May 22 15:26:57.669: //-1/003C4ADFC100/DPM/dpAssociateIncomingPeerCore:

Calling Number=12248123456, Called Number=375, Voice-Interface=0x0,

Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

Peer Info Type=DIALPEER_INFO_SPEECH

May 22 15:26:57.673: //-1/003C4ADFC100/DPM/dpAssociateIncomingPeerCore:

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

May 22 15:26:57.673: //-1/003C4ADFC100/DPM/dpAssociateIncomingPeerCore:

Calling Number=12248123456, Called Number=375, Voice-Interface=0x0,

Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

Peer Info Type=DIALPEER_INFO_SPEECH

May 22 15:26:57.673: //-1/003C4ADFC100/DPM/dpAssociateIncomingPeerCore:

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

May 22 15:26:57.685: //-1/003C4ADFC100/DPM/dpMatchPeersCore:

Calling Number=, Called Number=375, Peer Info Type=DIALPEER_INFO_SPEECH

May 22 15:26:57.685: //-1/003C4ADFC100/DPM/dpMatchPeersCore:

Match Rule=DP_MATCH_DEST; Called Number=375

May 22 15:26:57.685: //-1/003C4ADFC100/DPM/dpMatchPeersCore:

Result=Success(0) after DP_MATCH_DEST

May 22 15:26:57.685: //-1/003C4ADFC100/DPM/dpMatchPeersMoreArg:

Result=SUCCESS(0)

List of Matched Outgoing Dial-peer(s):

1: Dial-peer Tag=20004

This works as there is no match.

I don't understand why this is going in a loop.

Thanks

Erik

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Anonymous (not verified) Mon, 06/04/2007 - 08:18

When a call comes from external number it is not matching the inbound dial-peer, you need to reconfigure the inbound and outbound dial-peer

erik Mon, 06/04/2007 - 08:27

Hi,

Thanks for your reply but that doesn't make any sense. When the call comes in from the external number it will only work when there is no match. It is not working because it IS matching on a dial peer (102) and then trying to re-process the call as you can see from the debug it goes into a loop.

Actions

This Discussion