[Asterisk-Users] "reason 23 (Temporary failure)" when using Dial(OH323)

Zachary McGibbon zachary.mcgibbon at gmail.com
Fri Nov 26 11:16:03 MST 2004


I've complied the OH323 .so successfully and can easily receive calls
from my H323 gatekeeper (using 711u), however it seems that all
outgoing calls are refused and I'm getting "reason 23 (Temporary
failure)" as an error code which I can't find documented everywhere.

My H323 gatekeeper needs a 001NXXNXXXXXX to dial out to the PSTN even
if I'm in north america (Montreal)

Here is my H323 dial context:

[h323-out]
; grab any NXXNXXXXXX and add a 001 for h323 gatekeeper
exten => _NXXNXXXXXX,1,SetVar(OH323_OUTCODEC=ulaw)
exten => _NXXNXXXXXX,2,Dial(OH323/001${EXTEN},60,r)

; grab any 1NXXXNXXXXXX and add a 00 for h323 gatekeeper
exten => _1NXXNXXXXXX,1,SetVar(OH323_OUTCODEC=ulaw)
exten => _1NXXNXXXXXX,2,Dial(OH323/00${EXTEN},60,r)

; international calls via h323 gatekeeper
exten => _011.,1,SetVar(OH323_OUTCODEC=ulaw)
exten => _011.,2,Dial(OH323/00${EXTEN})

Here is the oh323.conf:

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

[register]
context=h323-in
alias=XXXXXXXXXXX-XXX ; my H323 ID + PIN
alias=15145555555 ; my E.164 ID

[codecs]
codec=G711A
frames=20
codec=G711U
frames=20
;codec=GSM0610
;frames=4
;codec=G7231
;frames=2
;codec=G729
;frames=2

Here is the error:

=========================================================================
Connected to Asterisk CVS-HEAD-11/23/04-15:37:26 currently running on
dev (pid = 6778)
Verbosity is atleast 10
   -- Accepting AUTHENTICATED call from 192.168.254.254, requested
format = 1024, actual format = 1024
   -- Executing SetVar("IAX2/100 at 100/6", "OH323_OUTCODEC=ulaw") in new stack
   -- Executing Dial("IAX2/100 at 100/6", "OH323/0015145551212|60|r") in new stack
   -- H.323 call to 0015145551212 with codec(s) ALAW ULAW 
   -- Called 0015145551212
   -- H.323 call 'ip$localhost/24449' cleared, reason 23 (Temporary failure)
   -- Hungup 'OH323/L24449'
 == No one is available to answer at this time (1, 0/0/0)
   -- Hungup 'IAX2/100 at 100/6'

Anyone have any clue as to what could be the error?  I was looking
along the lines that maybe the OH323 .so wasn't sending the correct
H323 ID and or E.164 id to the gatekeeper when it places a call or
that it wasn't contacting the gatekeeper at all.

- Zachary McGibbon
zachary.mcgibbon at gmail.com



More information about the asterisk-users mailing list