cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
562
Views
0
Helpful
4
Replies

MGCP and H.323 use at same time ?

nivanak
Level 1
Level 1

i have 2611xm voice gateway,

now i using MGCP.

do i use mgcp and h.323 with one voice gateway ?

i think there is not problem if using another route pattern each other.

4 Replies 4

dweiner
Cisco Employee
Cisco Employee

You can use H.323 or MGCP for each voice port. Administer the MGCP ports as usual in CCM. Do NOT administer ports in CCM you will use with H.323. Add an addition gateway in CCM, type H.323, pointing to the gateway and configure dial-peers for the other ports. You are correct in that you will use a different route pattern for those calls.

thanks.

i will use h.323 gateway without port , i will use voip.

for mgcp , i will use mgcp.

of course , i will use another route pattern.

but i confused , after i configuring mgcp and h.323,

it does not apply.

I haven't seen what version IOS you're running - hopefully a T-train (12.2T or 12.3T).

Anyway, for mgcp add:

mgcp

ccm-manager mgcp

ccm-manager config server xxx.xxx.xxx.xxx. (IP of CCM TFTP server)

ccm-manager config

When you administer the ports in CCM the config should download to the gateway and you should see the ports 'registered' with CallManager. If not troubleshoot mgcp - first step is to make sure the "Domain Name" of the gateway in CCM matches the hostname + domain in the router (ie. 2600.avvid.com).

Now add in your dial-peers for the ports you did NOT administer in CCM -

dial-peer voice xxxx voip

destination-pattern

session-target ipv4:xxx.xxx.xxx.xxx

voice-class codec 1 (build this globally or hard-code here)

voice-class h323 1 (build this globally)

incoming called-number .

dtmf-relay h245-alphanumeric

progress_ind setup enable 3

no vad

!

dial-peer voice xxxx pots

destination-pattern 9

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port ?/?:?

What do you mean by "does not apply"?

thanks about your answer.

router ios version is 12.3(7)T.

now, i know that h.323 gateway does not operate.

strangely , h,323 does not operate.

below my h.323 configutration,

plz,check false.

-------------------------------------------

p dhcp pool e

network 192.168.0.0 255.255.255.0

default-router 192.168.0.1

option 150 ip 192.168.0.99

dns-server 210.94.0.73 210.220.163.82

netbios-name-server 210.96.0.73 210.220.163.82

voice-card 1

!

!

!

!

voice service pots

!

voice service voip

h323

h245 caps mode restricted

!

!

voice class codec 1

codec preference 1 g711ulaw

!

!

!

!

!

!

!

!

!

fax interface-type fax-mail

!

!

class-map match-all class1

match access-group 101

!

!

policy-map policy1

class class1

bandwidth 3000

random-detect

random-detect precedence 0 32 256 100

!

!

translation-rule 1

Rule 0 ^80 0

Rule 1 ^81 1

!

!

translation-rule 2

Rule 0 ^90 0

Rule 1 ^91 1

!

!

translation-rule 3

Rule 0 ^71 1

Rule 1 ^70 0

Rule 3 ^78 8

!

!

!

!

interface FastEthernet0/0

ip address 192.168.1.2 255.255.255.0

service-policy output policy1

duplex auto

speed auto

h323-gateway voip interface

h323-gateway voip id Serome Gatekeeper 47 ipaddr xxx.xxx.xxx.xxx 1719

h323-gateway voip h323-id krisnet1@2004@01:031

h323-gateway voip tech-prefix 8#

h323-gateway voip bind srcaddr 192.168.1.2

ip rtp priority 16384 16383 40

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

!

interface FastEthernet0/1.1

encapsulation dot1Q 1 native

ip address 192.168.0.1 255.255.255.0

!

interface FastEthernet0/1.2

encapsulation dot1Q 2

ip address 192.168.2.1 255.255.255.0

!

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.1.1

ip http server

ip http path flash:

prefix-length 29

ip nat inside source list 1 pool local overload

ip nat inside source static 192.168.0.50 !

!

access-list 1 permit 192.168.0.0 0.0.0.255

!

control-plane

!

!

voice-port 1/0/0

supervisory disconnect dualtone mid-call

cptone KR

timeouts interdigit 2

connection plar opx 122

caller-id enable type 1

!

voice-port 1/0/1

supervisory disconnect dualtone mid-call

cptone KR

timeouts interdigit 2

connection plar opx 122

caller-id enable type 1

!

voice-port 1/0/2

!

voice-port 1/0/3

!

voice-port 1/1/0

!

voice-port 1/1/1

!

!

!

!

!

dial-peer voice 22 pots

destination-pattern 155

fax rate voice

port 1/1/1

!!

dial-peer voice 23 pots

destination-pattern 117

port 1/1/0

!

dial-peer voice 7777 voip

destination-pattern 1..

session target ipv4:192.168.0.99 ---->CM IP

codec g711ulaw

!

dial-peer voice 2 pots

preference 7

destination-pattern 8T

translate-outgoing calling 1

port 1/0/0

forward-digits all

!

dial-peer voice 3 pots

destination-pattern 8T

translate-outgoing calling 1

no digit-strip

port 1/0/1

forward-digits all

!

gateway

!

alias exec c conf t

alias exec s sh run

alias exec e exit

!

line con 0

exec-timeout 0 0

logging synchronous

line aux 0

line vty 0 4

password xxxxx

login

!