oh323 configuration


#1

Hi, Can anyone help me out setting oh323.

extensions.conf
[default]

;Prueba oh323 saliente por timanfaya0h323
exten=>_6.,1,Dial(OH323/timanfayaoh323/xxxxx${EXTEN},90,tr)

[discriminador]
exten=>932289394,1,SetCallerID(932289394)
exten=>932289394,2,Dial(OH323/timanfayaoh323/xxxxx${EXTEN2},60,tr)

[h323-timanfaya]
exten=>_6.,1,SetCallerID(12345)
exten=>_6.,2,Dial(OH323/19105${EXTEN}@84.20.3.166,60,tr)

oh323.conf
[general]
listenAddress=x.x.x.x (my ip)
listenPort=1720
tcpStart=10000
tcpEnd=20000
udpStart=10000
udpEnd=20000
fastStart=yes
h245Tunnelling=yes
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
context=timanfayaoh323
type=user
host=x.x.x.x (provider’s ip)

[register]
;
; Aliases/prefixes associated with the default context
; defined in section [general].
;
alias=asterisk
alias=123

;alias=h323-timanfaya
alias=timanfayaoh323
alias=932289394
alias=12345
alias=10746
alias=31561

codec=G711A
frames=20
codec=G711U
frames=20
;codec=GSM0610
;frames=4
;codec=G7231
;frames=2
codec=G729
frames=8

I am getting the following error when I make a call:

-- Accepting voice call from '932289394' to '666448240' on channel 0/19, span 1
-- Executing SetVar("Zap/19-1", "EXTEN2=666448240") in new stack
-- Executing Goto("Zap/19-1", "discriminador|932289394|1") in new stack
-- Goto (discriminador,932289394,1)
-- Executing SetCallerID("Zap/19-1", "932289394") in new stack
-- Executing Dial("Zap/19-1", "OH323/timanfayaoh323/19105666448240|60|tr") in new stack
-- H.323 call to timanfayaoh323/xxxxx666448240 with codec(s) alaw g729

Outbound H.323 call ‘ip$localhost/31573’.
– Called timanfayaoh323/xxxxx666448240
Call ‘ip$localhost/31573’ cleared.
– H.323 call ‘ip$localhost/31573’ cleared, reason 10 (Gatekeeper cleared call)
Call ‘ip$localhost/31573’ cleared in INIT state.
– OH323/L31573 is circuit-busy
– Hungup ‘OH323/L31573’
== Everyone is busy/congested at this time
Call ‘ip$localhost/31573’ without owner has already been cleared (2).
– Channel 0/19, span 1 got hangup
– Hungup ‘Zap/19-1’

It rings 3 times and then silence.

Note, the ip and prefix are hiden for security reasons.

anyone has a clue???

Sincerelly,
Patricio Ku