Cisco Support Community
Community Member

Mgcp Gateway and translation rule

Hi folks,

I've configured an mgcp gateway for the first time. Now when a call comes in, the leading "0" at the calling number is missing which I need as an access code to make an off-net call. With an H.323 gateway I used to configure an translation rule f.e. Rule 1 . 00 national unknown and bind it to the voip dial peer with an "translate-outgoing calling XXX" command.

Does anyone know how can I solve this porblem.

Many thanks in advance.


Cisco Employee

Re: Mgcp Gateway and translation rule

Community Member

Re: Mgcp Gateway and translation rule

Hi there,

thanks for your answer but I can not use "Trannslation Patterns" in this case. This is an installation in Germany and we have different prefixes for local, national and international calls. With an "Translation Pattern" I can manipulate a calling number depending on the called number. What I need is to preceed nulls depending from where the call comes in. I attached my current config for a better understanding.

hostname gtw-voip


enable secret 5 $1$p7bO$npyaDcK1.ol3s1k2kO51s.


clock timezone MET 1

clock summer-time MEST recurring last Sun Mar 2:00 last Sun Oct 3:00

voice-card 1


ip subnet-zero

ip host callmanager

ip host gtw-voip



isdn switch-type primary-net5


voice call carrier capacity active

voice rtp send-recv




ccm-manager switchback immediate

ccm-manager redundant-host

ccm-manager mgcp

ccm-manager music-on-hold

ccm-manager config server

ccm-manager config


controller E1 1/0

pri-group timeslots 1-31 service mgcp


translation-rule 5976

Rule 1 6103 006103 national unknown

Rule 2 . 00 national unknown

Rule 3 . 000 international unknown



interface FastEthernet0/0

ip address

speed 100



interface Serial1/0:15

no ip address

no logging event link-status

isdn switch-type primary-net5

isdn overlap-receiving

isdn incoming-voice voice

isdn bind-l3 ccm-manager

no cdp enable


ip default-gateway

ip classless

ip route

ip route FastEthernet0/0

ip route FastEthernet0/0

ip http server

ip pim bidir-enable



logging trap debugging

call rsvp-sync


voice-port 1/0:15

translate calling 5976

cptone DE



mgcp call-agent 2427 service-type mgcp version 0.1

mgcp dtmf-relay voip codec all mode out-of-band

mgcp rtp unreachable timeout 1000 action notify

mgcp package-capability rtp-package

mgcp package-capability sst-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp rtp payload-type g726r16 static


mgcp profile default


dial-peer voice 9991015 pots

application mgcpapp

port 1/0:15



line con 0

password 7 00071A150754

logging synchronous


line aux 0

line vty 0 4

password 7 0822455D0A16




CreatePlease to create content