Thursday, October 14, 2010

Advanced H323 Gatekeeper troubleshooting

Advanced Gatekeeper stuff/Troubleshooting

HI Guys,

So, first things first, how do we troubleshoot for example, when a remote gatekeeper has the bandwidth command restricting us from calling? Example config given below:

gatekeeper

zone local REMOTE cisco.com 113.29.243.26

zone local ZONE1 cisco.com

bandwidth remote 10

no shutdown

!

Lets say we try and send this guy a call, obviously it won’t work, since we need enough bandwidth for a call both ways, (128)

Here is what we will see when we do a show h323 gateway on the GW trying to make a call through our own local GK to this remote GK:

PSTN-WAN# show h323 gateway

….

DISC CAUSE CODE FROM OTHER PEER FROM H323 PEER

34 no circuit (34) 0 3

I tried to call three times here hence the 3 J

Now LOCALLY if our own LOCAL GK (or a GK that they tell us to point to but don’t actually let us go onto) has the bandwidth command, we get a much more useful message (arj)

gatekeeper

zone local MYZONE cisco.com

zone remote REMOTE cisco.com 113.29.243.26 1719

zone prefix REMOTE 6*

gw-type-prefix 3* hopoff MYZONE gw ipaddr 10.0.0.3 1720

bandwidth remote 10

no shutdown

endpoint resource-threshold

So lets check out what happens now, clear our stats again:

PSTN-WAN#clear h323 gateway

All H.323 stats cleared at 1w0d

<- make test call.. beep beep beep beep!->

PSTN-WAN#show h323 gateway ras

RAS STATISTICS AT 1w0d

RAS MESSAGE REQUESTS SENT CONFIRMS RCVD REJECTS RCVD

GK Discovery grq 0 gcf 0 grj 0

Registration rrq 0 rcf 0 rrj 0

Admission arq 1 acf 0 arj 1

You can see here we TRIED to make a call (arq) but where rejected (arj) probably due to the bandwidth issue.

This message will also appear if you do a “endpoint” restriction, heres an example config for this:

gatekeeper

zone local MYZONE cisco.com

zone remote REMOTE cisco.com 113.29.243.26 1719

zone prefix REMOTE 6*

gw-type-prefix 3* hopoff MYZONE gw ipaddr 10.0.0.3 1720

no shutdown

endpoint resource-threshold

endpoint max-calls h323id PSTN-WAN 1

!

You MUST have the “Endpoint resource-threshold” configured for this to actually work

Once again, if you have this configured, the message sent back if you try and make more than two calls will be admission reject

RAS MESSAGE REQUESTS SENT CONFIRMS RCVD REJECTS RCVD

GK Discovery grq 0 gcf 0 grj 0

Registration rrq 4 rcf 4 rrj 0

Admission arq 2 acf 0 arj 2

Bandwidth brq 0 bcf 0 brj 0

Disengage drq 0 dcf 0 drj 0

Unregister urq 0 ucf 0 urj 0

Resource Avail rai 0 rac 0

Req In Progress rip 0

No comments:

Post a Comment