Steve Ducat
2005-Aug-29 02:05 UTC
[Asterisk-Users] Register Asterisk with Gatekeeper - oh323
I have tried everything. to register with this gatekeeper to make and receive calls These are the details I received from the voip provider: protocol H.323 Gatekeeper Address - AVS@210.21.118.XXX Port - 1719 RAS - 53 Q931 - 80 h245 - 1722 RTP - 1722 Username - H323 I have 2 phone number/accounts with this gatekeeper that I need to register to. ID - HMA0200.10szxn-xxxx e.164 - 22xx2912 ID - HMA0200.10szxn-xxxx e.164 - 22xx2913 Here is my oh323.conf: [general] listenAddress=0.0.0.0 listenPort=1720 gatekeeper=AVS@210.21.118.XXX gatekeeperTTL=600 tcpStart=10000 tcpEnd=20000 udpStart=10000 udpEnd=20000 fastStart=no h245Tunnelling=no h245inSetup=no inBandDTMF=no jitterMin=20 jitterMax=100 ipTos=none outboundMax=10 inboundMax=10 simultaneousMax=10 wrapLibTraceLevel=1 libTraceLevel=0 libTraceFile=stdout userInputMode=TONE amaFlags=default accountCode=H323 language=en context=voip-h323 [register] alias=ASTERISK [codecs] codec=G711A frames=20 [22xx2912] type=friend ip=AVS@210.21.118.XXX port=1720 alias=HMA0200.10szxn-xxxx e164=22xx2912 context=default disallow=all allow=ulaw dtmfmode=rfc2833 [22xx2913] type=friend ip=AVS@210.21.118.XXX port=1720 alias=HMA0200.10szxn-xxxx e164=22xx2913 context=default disallow=all allow=ulaw dtmfmode=rfc2833 All I get from Asterisk is the following: Aug 29 10:00:57 WARNING[9715]: chan_oh323.c:4228 oh323_gk_check: Failed to register with gatekeeper 'AVS@210.21.118.XXX'. -- Retrying gatekeeper registration. Am I on the right track or have I missed the point. I do not want Asterisk to be the gatekeeper, I simply want Asterisk to register with the gatekeeper so I can receive calls from it and then use this gatekeeper to make calls to it. Any help would be appreciated. Thanks Steve..
Michael Manousos
2005-Aug-29 02:59 UTC
[Asterisk-Users] Register Asterisk with Gatekeeper - oh323
Hi Steve, Your [general] section looks fine. In the [register] section remove everything else and leave these lines. context=incoming-h323-calls alias=HMA0200.10szxn-xxxx alias=22xx2912 alias=HMA0200.10szxn-xxxx alias=22xx2913 Now all H.323 calls will enter in 'incoming-h323-call' context. Try this and see if it works. Michael. Steve Ducat wrote:> I have tried everything. to register with this gatekeeper to make and > receive calls > > These are the details I received from the voip provider: > > protocol H.323 > Gatekeeper Address - AVS@210.21.118.XXX > Port - 1719 > RAS - 53 > Q931 - 80 > h245 - 1722 > RTP - 1722 > Username - H323 > > I have 2 phone number/accounts with this gatekeeper that I need to register to. > > ID - HMA0200.10szxn-xxxx > e.164 - 22xx2912 > > ID - HMA0200.10szxn-xxxx > e.164 - 22xx2913 > > Here is my oh323.conf: > > [general] > > listenAddress=0.0.0.0 > listenPort=1720 > gatekeeper=AVS@210.21.118.XXX > gatekeeperTTL=600 > > tcpStart=10000 > tcpEnd=20000 > udpStart=10000 > udpEnd=20000 > fastStart=no > h245Tunnelling=no > h245inSetup=no > inBandDTMF=no > jitterMin=20 > jitterMax=100 > ipTos=none > outboundMax=10 > inboundMax=10 > simultaneousMax=10 > wrapLibTraceLevel=1 > libTraceLevel=0 > libTraceFile=stdout > userInputMode=TONE > amaFlags=default > accountCode=H323 > language=en > context=voip-h323 > > [register] > alias=ASTERISK > > [codecs] > codec=G711A > frames=20 > > [22xx2912] > type=friend > ip=AVS@210.21.118.XXX > port=1720 > alias=HMA0200.10szxn-xxxx > e164=22xx2912 > context=default > disallow=all > allow=ulaw > dtmfmode=rfc2833 > > [22xx2913] > type=friend > ip=AVS@210.21.118.XXX > port=1720 > alias=HMA0200.10szxn-xxxx > e164=22xx2913 > context=default > disallow=all > allow=ulaw > dtmfmode=rfc2833 > > All I get from Asterisk is the following: > > Aug 29 10:00:57 WARNING[9715]: chan_oh323.c:4228 oh323_gk_check: > Failed to register with gatekeeper 'AVS@210.21.118.XXX'. -- Retrying > gatekeeper registration. > > Am I on the right track or have I missed the point. I do not want > Asterisk to be the gatekeeper, I simply want Asterisk to register with > the gatekeeper so I can receive calls from it and then use this > gatekeeper to make calls to it. > > Any help would be appreciated. > > Thanks > > Steve..
Steve Ducat
2005-Aug-31 14:12 UTC
[Asterisk-Users] Register Asterisk with Gatekeeper - oh323
Michael, thanks for your reply.. I am still having trouble connecting to the gatekeeper to receive any calls... Here is my setup... Asterisk 1.0.9 pwlib-Janus openh323-Janus asterisk-oh323-0.6.6 Here is my oh323.conf [general] listenAddress=70.84.200.xxx listenPort=1720 gatekeeper=210.21.118.xxx gatekeeperTTL=600 tcpStart=10000 tcpEnd=20000 udpStart=10000 udpEnd=20000 fastStart=no h245Tunnelling=no h245inSetup=no inBandDTMF=no jitterMin=20 jitterMax=100 ipTos=none outboundMax=10 inboundMax=10 simultaneousMax=10 wrapLibTraceLevel=10 libTraceLevel=5 libTraceFile=stdout userInputMode=TONE amaFlags=default accountCode=H323 language=en [register] context=default alias=.HMA0200.10szxn-xxxx alias=22xx2570 alias=.HMA0200.10szxn-xxxx alias=22xx2913 [codecs] codec=G711A frames=2 codec=G729 frames=2 codec=GSM0610 frames=4 codec=G7231 frames=2 [22xx2912] type=friend ip=210.21.118.xxx ;port=1720 alias=.HMA0200.10szxn-xxxx h323id=.HMA0200.10szxn-xxxx e164=22xx2912 context=default ;disallow=all ;allow=ulaw dtmfmode=rfc2833 [22xx2913] type=friend ip=210.21.118.xxx ;port=1720 alias=.HMA0200.10szxn-xxxx h323id=.HMA0200.10szxn-xxxx e164=22xx2913 context=default ;disallow=all ;allow=ulaw dtmfmode=rfc2833 I can now register with the gatekeeper successfully but the gatekeeper will not pass me any calls. I am trying to connect to a AVS Gatekeeper by Auvtech. The details they have given me is (2 different numbers): H323ID = .HMA0200.10szxn-xxxx e164 = 22xx2912 H323ID = .HMA0200.10szxn-xxxx e164 = 22xx2913 Any more help would be appreciated. Kind Regards, Steven Ducat.