02-08-2003 12:40 PM - edited 03-12-2019 10:37 PM
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.
Michael
02-09-2003 05:17 AM
You will to set this up on the gateway controller. If you are using callmanager, here is some info:
02-09-2003 08:24 AM
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 192.168.200.10
ip host gtw-voip 192.168.200.2
!
!
isdn switch-type primary-net5
!
voice call carrier capacity active
voice rtp send-recv
!
!
!
ccm-manager switchback immediate
ccm-manager redundant-host 192.168.200.10
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server 192.168.200.10
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 192.168.200.2 255.255.255.0
speed 100
full-duplex
!
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 172.26.160.2
ip classless
ip route 0.0.0.0 0.0.0.0 172.26.160.2
ip route 172.26.160.0 255.255.240.0 FastEthernet0/0
ip route 192.168.200.0 255.255.255.0 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
mgcp call-agent 192.168.200.11 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
login
line aux 0
line vty 0 4
password 7 0822455D0A16
login
!
end
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