[Asterisk-Users] OH323 VoIP router connect debug question?

James Bean james at hdcs.com.au
Mon Oct 18 03:35:16 MST 2004


Hi,

I do apologise I only have a basic understanding of VoIP and H323, here
is my situation, any help would be very much appreciated.

I am trying to coax my asterisk 1.0.1 box using oh323 0.6.3b with
openh323 13.5 & pwlib v1.6.6 (I purchased 1 G.729 license from digium
and installed it correctly) to communicate with a clients OKI BV1250 (I
know cheap ass VoIP Gateway, but they have 2 and I gotta get asterisk to
talk with them).

When I was first testing it with the old version with h323 there was a
h.323 trace mode which was easy to tell why it wasn't working.

Unfortunately I can't seem to find the same functionality with OH323.

What I am getting when I make a call to the Oki VoIP box is 

    -- Executing Dial("SIP/snom-james-02d1",
"OH323/123 at 192.168.254.250/690") in new stack
    -- H.323 call to 123 at 192.168.254.250/690 with codec ALAW
    -- Called 123 at 192.168.254.250/690
    -- H.323 call 'ip$localhost/19967' cleared, reason 9 (Connection
failure)
    -- Hungup 'OH323/L19967'
  == No one is available to answer at this time

Sometimes the error comes up immediately, sometimes it takes 10 seconds
before you see it.

My /etc/asterisk/oh323.conf is

[general]
listenAddress=192.168.69.1
listenPort=1720
connectPort=1720
tcpStart=10000
tcpEnd=20000
udpStart=10000
udpEnd=20000
fastStart=no
h245Tunnelling=no
h245inSetup=no
inBandDTMF=no
silenceSuppression=no
jitterMin=20
jitterMax=100
ipTos=none
outboundMax=2
inboundMax=2
simultaneousMax=2
bandwidthLimit=12
wrapLibTraceLevel=1
libTraceLevel=0
libTraceFile=stdout
gatekeeper=DISCOVER
gatekeeperTTL=600
userInputMode=TONE
amaFlags=default
accountCode=H323
context=voip-h323

[register]
alias=asterisk
alias=123
context=all-aliases
alias=ASTERISK
alias=666
context=more-aliases
alias=665
context=all-prefixes
gwprefix=00
gwprefix=01
context=more-stuff
alias=664
gwprefix=02

[codecs]
codec=G711A
frames=20

In my extensions.conf in my voip section I have

exten => _1XX,1,Dial(OH323/${EXTEN}@192.168.254.250/${CALLERIDNUM})
; 1xx extension to Salisbury
exten => _2XX,1,Dial(OH323/${EXTEN}@192.168.20.250/${CALLERIDNUM})
; 2xx extension to Marcoola
exten => 610,1,Dial(OH323/${EXTEN}@192.168.30.250/${CALLERIDNUM})  ; 610
to Jindalee
exten => 620,1,Dial(OH323/${EXTEN}@192.168.40.250/${CALLERIDNUM})  ; 620
to Batteryhill

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

james



More information about the asterisk-users mailing list