Solved

Can't get my CME dial-peers right

Posted on 2015-01-14
2
255 Views
Last Modified: 2015-01-20
Experts, no matter what I do, I can't seem to lock down the correct configuration for my CME dial-peers.

I have the following setup:
     SIP Provider --> Cisco 2801 CME --> CUCM

I have the CUCM configured perfectly.  The problem is with the CME dial-peers.  No matter how hard I try, I can't get the thing to send everything the way it's supposed to go.

dial-peer voice 5000 voip
 description CUCM Trunk
 destination-pattern [1-5]...
 session target ipv4:1.1.1.1
 dtmf-relay h245-alphanumeric h245-signal rtp-nte
 codec g711ulaw
 no vad
dial-peer voice 99 voip
 description Outbound SIP
 translation-profile outgoing SIP_Outbound
 destination-pattern 99.T
 voice-class codec 1
 session protocol sipv2
 session target dns:<SIP Provider>
 incoming called-number ....
 dtmf-relay rtp-nte
 no vad
dial-peer voice 100 voip
 description Inbound SIP
 translation-profile incoming SIP_Inbound
 session protocol sipv2

voice translation-rule 1
 rule 1 /^.*/ /<SIP Phone #>/
voice translation-rule 2
 rule 1 /^.*/ /5555/
voice translation-rule 3
 rule 1 /^99\(.......\)$/ /1<Area Code>\1/
 rule 2 /^99\(..........\)$/ /1\1/
 rule 3 /^99\(.*\)/ /\1/
voice translation-profile SIP_Inbound
 translate called 2
voice translation-profile SIP_Outbound
 translate calling 1
 translate called 3

Open in new window


Basically, I just want the thing to grab all calls from the SIP provider, and force it down the CUCM trunk (# 5555).   And vice-versa, taking all CUCM originated calls (prefaced by 99) and shoot them out to the SIP provider [stripping 99 of course]

Debugging the dial-peer, It's looking as my inbound calls get shot right back out the same dial-peer they came in on.

Can somebody please hit me where I'm going wrong here?  Thanks.
0
Comment
Question by:usslindstrom
2 Comments
 
LVL 20

Accepted Solution

by:
agonza07 earned 500 total points
ID: 40558782
Your "incoming called number ." needs to be on your 100 dial peer.
0
 
LVL 5

Author Closing Comment

by:usslindstrom
ID: 40561225
That was it.  Thanks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question