Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Incoming Dial-peer

I have a SIP trunk set up and can make outgoing calls fine. However, at the moment, i'm having a little trouble getting the incoming calls to be recieved on my ephone-dn.

When an incoming call is recieved I get the following from "debug ccsip all"

The Call Setup Information is:

Call Control Block (CCB) : 0x4838BFD4

State of The Call : STATE_DEAD

TCP Sockets Used : NO

Calling Number : +4418338xxxxx

Called Number : 4418336xxxxx

Source IP Address (Sig ): 83.x.x.x

Destn SIP Req Addr:Port : 87.x.x.x:5060

Destn SIP Resp Addr:Port : 87.x.x.x:5060

Destination Name : 87.x.x.x

Aug 25 08:24:38.529: //2100/FB9CA81483B9/SIP/Call/sipSPIMediaCallInfo:

Number of Media Streams: 1

Media Stream : 1

Negotiated Codec : g711ulaw

Negotiated Codec Bytes : 160

Negotiated Dtmf-relay : 0

Dtmf-relay Payload : 0

Source IP Address (Media): 83.x.x.x

Source IP Port (Media): 18736

Destn IP Address (Media): 87.x.x.x

Destn IP Port (Media): 12272

Orig Destn IP Address:Port (Media): 0.0.0.0:0

I believe my problem lies with me incorrectly setting up my dial-peer. This is what i currently have.

dial-peer voice 9999 voip

description Incoming call via SIP

translate-outgoing called 3

destination-pattern 4418336xxxxx

translation-rule 3

Rule 0 ^4418336xxxxx 2000

2000 is my extension on CME4.0 and i've x'd up IPs and phone numbers for privacy.

I would have thought that translation-rule would replace the called number with my extension, which would in turn cause my extension to ring. No such luck though.

I can get the call to be put through to a normal phone via a pots dial-peer with the following dial-peer

dial-peer voice 9999 pots

destination-pattern 4418336xxxxx

port 0/1/1

Thanks

3 REPLIES
New Member

Re: Incoming Dial-peer

If i give an ephone-dn a number of "4418336xxxxx" the call comes through, so i'm fairly certain its a translation rule problem. I just cant see where it's going wrong.

New Member

Re: Incoming Dial-peer

Try doing a "debug voice dialpeer" or "debug dialpeer" to see which inbound dial-peer you are hitting.

You also might want to try a translation profile, and translate incoming called. Similar to:

voice translation-rule 1

rule 1 /^4441833612345/ /2000/

voice translation-profile test

translate called 1

dial-peer voice 100 voip

incoming called-number .

translation-profile incoming test

New Member

Re: Incoming Dial-peer

Still pulling my hair out with this. I have tried your suggestion with the following setup:

voice translation-rule 10

rule 1 /^441833612345/ /2000/

voice translation-profile incSIP

translate called 10

dial-peer voice 1 voip

translation-profile incoming incSIP

incoming called-number .

Then with "debug voice dialpeer" activated, I get the following.

Aug 25 14:29:25.215: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Calling Number=441833612345, Called Number=441833600026, Peer Info Type=DIALPEER_INFO_SPEECH

Aug 25 14:29:25.215: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Match Rule=DP_MATCH_DEST; Called Number=441833612345

Aug 25 14:29:25.215: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)

Aug 25 14:29:25.215: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

Result=NO_MATCH(-1)

Aug 25 14:29:25.219: //-1/F1237AF8804E/DPM/dpAssociateIncomingPeerCore:

Calling Number=+441833912345, Called Number=441833600026, Voice-Interface=0x0,

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

Peer Info Type=DIALPEER_INFO_SPEECH

Aug 25 14:29:25.219: //-1/F1237AF8804E/DPM/dpAssociateIncomingPeerCore:

Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1

Aug 25 14:29:27.663: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Calling Number=441833612345, Called Number=441833600026, Peer Info Type=DIALPEER_INFO_SPEECH

Aug 25 14:29:27.663: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Match Rule=DP_MATCH_DEST; Called Number=441833612345

Aug 25 14:29:27.667: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)

Aug 25 14:29:27.667: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

Result=NO_MATCH(-1)

Aug 25 14:29:27.667: //-1/F29902FC8050/DPM/dpAssociateIncomingPeerCore:

Calling Number=+441833912345, Called Number=441833600026, Voice-Interface=0x0,

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

Peer Info Type=DIALPEER_INFO_SPEECH

Aug 25 14:29:27.667: //-1/F29902FC8050/DPM/dpAssociateIncomingPeerCore:

Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1

509
Views
0
Helpful
3
Replies