10-29-2013 01:52 PM - edited 03-16-2019 08:08 PM
I am very new to Cisco Voice, touching it for the first time ever. So please be kind lol.
Can someone tell me what is the purpose of these commands, do I need to add them in the router?
Also don't I need the "service mgcpapp" for 911 and 9911?
What is the significance of the numbers in "dial-peer" command?
dial-peer voice 1 pots
translation-profile outgoing srst-out
destination-pattern 9T
port 0/2/0:23
!
dial-peer voice 911 pots
destination-pattern 911
port 0/2/0:23
!
dial-peer voice 9911 pots
translation-profile outgoing srst-out
destination-pattern 9911
forward-digits 3
port 0/2/0:23
!
dial-peer voice 3 pots
translation-profile incoming srst-in
incoming called-number .
direct-inward-dial
port 0/2/0:23
!
dial-peer voice 1001 pots
service mgcpapp
port 0/2/0:23
!
dial-peer voice 1000 pots
service mgcpapp
port 0/2/0:23
!
dial-peer voice 1002 pots
service mgcpapp
port 0/2/0:23
dial-peer voice 999000 pots
service mgcpapp
port 0/2/0:23
!
dial-peer voice 3 pots
translation-profile incoming srst-in
service mgcpapp
direct-inward-dial
port 0/2/0:23
!
call-manager-fallback
max-conferences 4 gain -6
ip source-address 172.16.15.17 port 2000
max-ephones 24
max-dn 48
Thank you.
10-29-2013 03:39 PM
Hi Mohammad,
Please review the following docs and respond here if there are any questions:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010ae1c.shtml
Please rate useful posts.
10-30-2013 04:45 AM
Hi Mohammed,
The configs which you have placed above seems to be configured on the PRI. These are the vital commands on the Gateway in order to send/receive the calls thru PRI.
Explaining in Detail.
dial-peer voice 1 pots -- This is the Dial peer tag
translation-profile outgoing srst-out ----- You would see a voice translation to translate a calling / called party on the gw config.
destination-pattern 9T ---- This is Important command to match the dialled numbers which was received from the Phone / CUCM.
port 0/2/0:23 ---- Thru this port the call will go out..
The command "Service mgcpapp" defines that this particular GW is managed by the MGCP Application..
Mohsin.
Please rate if it helped you..
10-30-2013 06:57 AM
Also, you seem to have SRST configured, so, some of those dial peers will be active only when you're actually registered to CUCM, the ones tied to MGCP, and the rest of them, will become active if SRST kicks in.
HTH
java
if this helps, please rate
www.cisco.com/go/pdihelpdesk
10-30-2013 12:30 PM
Thank you for the reply Mohsi I get it about which interface the call will go out. But do I need the two mgcp vs non mgcp commands?
Also don't I also need below? Are these settings hard coded on the router or do they get pushed via CUCM. I have the router registered to the CCM.
dial-peer voice 911 pots
service mgcpapp
port 0/2/0:23
!
dial-peer voice 9911 pots
service mgcpapp
port 0/2/0:23
10-30-2013 01:28 PM
That depends on your CUCM config and routing, the one that says it has an SRST translation, does not need it for sure.
Unless you want to break the 911 functionality when you go into SRST.
HTH
java
if this helps, please rate
www.cisco.com/go/pdihelpdesk
10-31-2013 05:54 AM
Mohammed Ali,
The dial-peers which you see are the two configured for the 911 purpose. There will be a command under
Voice Services Voip
application
Service Alternate Default ---> This is responsible to make your GW H323 which is fails on the MGCP.
Makesure you have this in your GW config.. But the destination pattern is missing on those dial-peers so if they fall on H323.. 911 will not work.
it has to be like below..
dial-peer voice 911 pots
service mgcpapp
destination-pattern 911
port 0/2/0:23
forward digits all
!
dial-peer voice 9911 pots
service mgcpapp
destination-pattern 9911
port 0/2/0:23
forward digits 3
Mohsin.
-- Please rate if it helps..
10-31-2013 07:30 AM
Thank you again all, I'm not sure where this is, I looked in CUCM and can't find it there:
Voice Services Voip
application
Service Alternate Default ---> This is responsible to make your GW H323 which is fails on the MGCP.
But I updated the gateway config like this, how's this look? Do I even need the 1000, 1001, 1002 and 999000?
dial-peer voice 1001 pots
service mgcpapp
port 0/2/0:23
!
dial-peer voice 1000 pots
service mgcpapp
port 0/2/0:23
!
dial-peer voice 1002 pots
service mgcpapp
port 0/2/0:23
!
dial-peer voice 999000 pots
service mgcpapp
port 0/2/0:23
!
dial-peer voice 3 pots
translation-profile incoming srst-in
service mgcpapp
direct-inward-dial
port 0/2/0:23
!
dial-peer voice 911 pots
service mgcpapp
destination-pattern 911
port 0/2/0:23
forward-digits all
!
dial-peer voice 9911 pots
service mgcpapp
destination-pattern 9911
port 0/2/0:23
forward-digits 3
10-31-2013 08:05 AM
Hi Mahmood,
The configs looks good. I would also suggest you to include
incoming called-number .
in the 3 pots dial-peer and also make sure this works well in SRST.. Probably you can test by enabling an ACL to block a connection between GW and the CUCM.
-- > Service alternate default is a gateway config command.. you should see it in the Gateway..
Moreover, I do not think you need those dial-peers since there is no destination pattern configured..
Mohsin.
Please rate if it helps..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide