cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4646
Views
166
Helpful
78
Replies

MGCP gateway configuration question

Aaron S Mcquaid
Level 1
Level 1

Hello,

I have a VG200 running IOS 12.3(13). I am attempting to configure it to use MGCP to talk to my Callmanager ver 3.3(3). I have the following config:

isdn switch-type primary-dms100

!

!

!

!

!

!

!

!

!

!

ccm-manager fallback-mgcp

ccm-manager redundant-host 192.168.1.1

ccm-manager mgcp

!

!

controller T1 1/0

framing esf

linecode b8zs

pri-group timeslots 1-8,24 service mgcp

!

controller T1 1/1

framing esf

linecode ami

!

interface FastEthernet0/0

ip address 192.168.1.20 255.255.255.0

duplex auto

speed auto

!

interface Serial1/0:23

no ip address

isdn switch-type primary-dms100

isdn bind-l3 ccm-manager

no cdp enable

!

ip classless

no ip http server

!

!

call application alternate DEFAULT

!

mgcp

mgcp call-agent 192.168.1.2 service-type mgcp version 0.1

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

!

mgcp profile default

I have problems dialing out as I get reorder tone as soon as any number is dialed. I have a fractional PRI link with 8 B channels. The D channel is up and the pri is configured for DID. I have seen numerous configs on this site and others that call for the following dial peer config:

dial-peer voice 1 pots

application mgcpapp

direct-inward-dial

port 1/0:23

I am not able to enter the port command as it is not supported on my gateway. Is my current config correct or do I need the dial peer config? Why does my gateway not support the port command?

With Regards,

Aaron

2 Accepted Solutions

Accepted Solutions

Did you repoint your new 9.@ route at the new gateway? You should put the gateway in a route group, and put that in a route list, and then point your pattern at it. Then hopefully you will be back to getting calls out anyway.

Then, because there is so much question about your partitions and CSS stuff, why don't you manually create a new partition, just call it Internal, and make a new CSS, call it testcss or something, and put the Internal partition in it. Put the phones and the route pattern in the Internal partition, and assign the new testcss to the phones and the gateway, and see what happens. Also, grab that route plan report in file and post it for us.

Mary Beth

Mary Beth

View solution in original post

Aaron,

Did you try what Mary Beth said - I really think if this does not work then you need to get a TAC case on this. You can get one time support for a fee and get someone into your setup and look at it and resolve the issue. Note your initial problem of inbound calls disconnecting with no user response was the exact issue I mentioned and was caused by the @ route pattern.

Maulik

View solution in original post

78 Replies 78

Aaron Harrison
VIP Alumni
VIP Alumni

Hi Aaron

I think the missing port command is a feature of a newer IOS version possibly - not too sure though...

One problem you are probably having is that CM doesn't really support fractional E1/T1 with MGCP. You can work around this if you have 5 or less gateways as follows:

There's an option on the gateway config page - 'enable status poll'... this sets CM to monitor some service parameters that allow you to set some channels out of service.

The service parameters are on the CallManager service, called B-Channel Maintenance Status 1 to 5... If you click the service parameter you get help for it but the basic idea is you can set a bit mask that tells CM which channels to use...

Let me know if you get stuck with this...

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hello Aaron,

Thanks for your response, I checked the status poll box but I am not clear on how I can access the CallManager service and where I should but in this bit mask. Could this problem be related to why my gateway comes up as "not registered" under CCM Admin?

With Regards,

Aaron McQuaid

Hi

Basically checking the status poll makes CM poll the service parameters for that gateway (you can change the parameter at any time and it takes effect without restarting the service).

In ccmadmin go to the 'service' menu, then 'service parameters' - then pick a server and the callmanager service.

Click 'advanced', then scroll down the page until you find the b-channel maintenance parameters...

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Oh - and no, this shouldn't affect the registration status... it can stop you getting outbound calls if you don't have this properly configured tho.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hello Aaron,

Thanks again for the post. I followed your directions and found the required field. I have 8 DS0's on my PRI so I input the following in the Change B-Channel Maintenance Status 1 field:

111111110000000000000000

Is the above correct?

With Regards,

Aaron McQuaid

Hi

That's the correct bit mask, however you need to whack in the name of the endpoint as well - best is to bring up the gateway config page and paste in the name to avoid typos:

=111111110000000000000000

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hello Aaron,

Thanks for the clarification. I have the following in the field:

S1/DS1-0@VG200=1111111110000000000000000

Do I need:

=1111111110000000000000000

With Regards,

Aaron McQuaid

No - it's the first one, no < needed....

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

It's been a long time since I've worked on a VG200 but I'm positive the voice-port has always been created. What kind of NM and VWIC are you using for this PRI?

Not applicable

Doweiner - this poster had two thread going simultaneously regarding the same router, on his other thread he posted that he had a 2CT1-CSU in the VG200 - the thought was that this isn't a voice capable module?

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

I believe that if you are using timeslots 1-8 - then they should remain as a service state of zero. The one indicates a graceful out of service state.

I think you are looking for

S1/DS1-0@VG200=000000001111111111111110

The trailing zero is the d channel and shouldn't be affected by any setting you put here.

Hello,

Thanks for all of your helpful posts. I ordered a NM-HDV and a VWIC-1MFT-T1 and installed them in my VG200. I was able to dial out no problem and can reach any PSTN number that I try but I am having problems with incoming calls as they will not complete. I have two phones setup with extentions of 7002 and 7003 respectivly. They are 7940s. I can call from one extention to the other and both can call out to the PSTN but when I call from one to the other via the PSTN I get a busy signal from the calling phone and the called phone never rings. I also get the following debug output on the VG200.

VG200#debug isdn q931

debug isdn q931 is ON.

VG200#

*Mar 5 02:49:42.471: ISDN Se1/0:23 Q931: TX -> SETUP pd = 8 callref = 0x0030

Bearer Capability i = 0x8090A2

Standard = CCITT

Transfer Capability = Speech

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xA98308

Exclusive, Channel 8

Display i = 0xB1, '3677002'

Calling Party Number i = 0x0081, '3677002'

Plan:Unknown, Type:Unknown

Called Party Number i = 0xA1, '3677003'

Plan:ISDN, Type:National

*Mar 5 02:49:42.579: ISDN Se1/0:23 Q931: RX <- CALL_PROC pd = 8 callref = 0x80

30

Channel ID i = 0xA98388

Exclusive, Channel 8

*Mar 5 02:49:42.763: ISDN Se1/0:23 Q931: RX <- SETUP pd = 8 callref = 0x001F

Bearer Capability i = 0x8090A2

Standard = CCITT

Transfer Capability = Speech

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xA98384

Exclusive, Channel 4

Display i = 0xB1, '3677002'

Calling Party Number i = 0x2081, '9023677002'

Plan:Unknown, Type:National

Called Party Number i = 0xC1, '7003'

Plan:ISDN, Type:Subscriber(local)

*Mar 5 02:49:46.679: ISDN Se1/0:23 Q931: RX <- SETUP pd = 8 callref = 0x001F

Bearer Capability i = 0x8090A2

Standard = CCITT

Transfer Capability = Speech

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xA98384

Exclusive, Channel 4

Display i = 0xB1, '3677002'

Calling Party Number i = 0x2081, '9023677002'

Plan:Unknown, Type:National

Called Party Number i = 0xC1, '7003'

Plan:ISDN, Type:Subscriber(local)

*Mar 5 02:49:50.675: ISDN Se1/0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0

x001F

Cause i = 0x8092 - No user responding

*Mar 5 02:49:50.715: ISDN Se1/0:23 Q931: RX <- DISCONNECT pd = 8 callref = 0x8

030

Cause i = 0x8092 - No user responding

*Mar 5 02:49:50.783: ISDN Se1/0:23 Q931: TX -> RELEASE pd = 8 callref = 0x0030

*Mar 5 02:49:50.819: ISDN Se1/0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0

x8030

The above debug output takes approximatly 4 seconds to appear on my screen. It looks like there is some kind of problem between my phone and the gateway. I asked my telco to send me 4 digits and I have attached some screen captures of my MGCP config inside CCMAdmin. The PRI is configured with a DID block that runs from 3677002 to 3677030. If anybody has any ideas of what I am missing I would be very grateful.

With Regards,

Aaron McQuaid

Hello.

Here is my current config and the last screen cap of the MGCP config inside CCMAdmin.

!

hostname VG200

!

boot-start-marker

boot-end-marker

!

enable secret xxxx

!

voice-card 1

!

no aaa new-model

ip subnet-zero

!

!

isdn switch-type primary-dms100

!

!

!

!

!

!

!

!

!

!

ccm-manager fallback-mgcp

ccm-manager redundant-host 192.168.1.1

ccm-manager mgcp

!

!

controller T1 1/0

framing esf

linecode b8zs

pri-group timeslots 1-8,24 service mgcp

!

interface FastEthernet0/0

ip address 192.168.1.20 255.255.255.0

duplex auto

speed auto

!

interface Serial1/0:23

no ip address

isdn switch-type primary-dms100

isdn incoming-voice voice

isdn bind-l3 ccm-manager

no cdp enable

!

ip classless

no ip http server

!

!

call application alternate DEFAULT

!

voice-port 1/0:23

!

mgcp

mgcp call-agent 192.168.1.2 service-type mgcp version 0.1

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

!

mgcp profile default

!

!

!

dial-peer voice 10 pots

direct-inward-dial

port 1/0:23

With Regards,

Aaron McQuaid

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: