Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From H323 to MGCP...Please Advice

Status
Not open for further replies.

JayD77

IS-IT--Management
Jan 26, 2006
43
GB
Im going to migrate our Cisco2811 gateways from H323 to MGCP. The two Gateways have 2 Pri E1 each and are connected to Callmanager4.x (1Pub+1Sub). We have 1Route List with 1Route Group that contain the two Gateways.
Here is what im thinking the Migration Plan should look like:

1- Convert only one H323 Gateway to MGCP, if tests are fine -> Migrate the second Gateway to MGCP
1.1 On the Callmanager add a New MGCP Gateway
1.2 Add the new created MGCP Gateway to the Route Group that contain the two H323 Gateways, with MGCP as highest Priority. [is this ok to do?]
2- On the Gateway:

mgcp
mgcp call-agent X.X.X.X 2427 service-type mgcp version 0.1
mgcp dtmf-relay codec all mode out-of-band

controller e1 0/0/0
pri-group timeslots 1-31 service mgcp
controller e1 0/0/1
pri-group timeslots 1-31 service mgcp

dial-peer voice 1 pots
application MGCPAPP
port 1/0:23

ccm-manager redundant-host 1.2.3.5
ccm-manager mgcp
ccm-manager config server 1.2.3.4
ccm-manager config
ccm-manager switchback graceful

interface Serial0/0/0:15
no ip address
isdn switch-type primary-net5
isdn overlap-receiving T302 3000
isdn incoming-voice voice
isdn sending-complete
no cdp enable
isdn bind-l3 ccm-manager
!
interface Serial0/0/1:15
no ip address
isdn switch-type primary-net5
isdn overlap-receiving T302 3000
isdn incoming-voice voice
isdn sending-complete
no cdp enable
isdn bind-l3 ccm-manager

3- i need help here: how to create route pattern in CCM to replace the existing H323 dial-peers/translation rule configuration? here is the actual config:

voice translation-rule 1
rule 1 /^\(.*\)/ /0\1/ type subscriber subscriber
rule 2 /^\(.*\)/ /00\1/ type national national
rule 3 /^\(.*\)/ /000\1/ type international international
!
voice translation-rule 4
rule 4 /^4414/ //

dial-peer voice 1 pots
destination-pattern 0.T
progress_ind setup enable 3
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/0/0:15
!
!
dial-peer voice 10 voip
destination-pattern ...
modem passthrough nse codec g711ulaw
voice-class codec 1
voice-class h323 1
session target ipv4:X.X.X.X
incoming called-number .
dtmf-relay h245-alphanumeric
fax rate disable
ip qos dscp cs7 media
no vad
!

4- to roll back to H323 if something went wrong: issue the no MGCP command?? really important to me, as i need to rollback to H323 if something goes wrong with the migration.

5- MOH: do i need to change anything about how MOH is configured?

 
Hello,

I would addthe following lines as well:

mgcp bind control source-interface Loopback0
mgcp bind media source-interface Loopback0

(Loopback0 can be any interface)

Here is a complete MGCP config that I use for reference:

mgcp
mgcp call-agent 1.2.3.4 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 modem passthrough voip mode nse
mgcp package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
mgcp package-capability pre-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
mgcp bind control source-interface Loopback0
mgcp bind media source-interface Loopback0


Also, you don't need the Dial-peer voice 1 pots (depending on IOS version).


For translation-rule 1, create a translation pattern. The translatoin pattern would be something like 4414.! (or you can be more specific replacing the ! with X's) and in the discard digits section use pre-dot.

For translation-rule 1 this will be done on the gateway config under the outbound Calls section.

I think thats it, hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top