[Asterisk-Users] oh323 question

Curtis Junevicus cjunevicus at delphinus.com
Tue Feb 15 07:54:44 MST 2005


I'm trying to connect an asterisk server via oh323 to a Lucent iMerge.
I patched the code due so that Lucent can handle asterisk's ver4 h323
http://www.voip-info.org/wiki-Asterisk+Lucent+iMerge+Configuration

I can now successfully dial in to our company over multiple lines.

The issue is when I dial out

The first outgoing call connects to an outside user A
The second call drops the first user and connects the second call to the
outside user A

I'm not sure if it's a problem with my configuration or if the gatekeeper
isn't handling the calls correctly.

Executing Dial("SIP/108-4ec4", "OH323/3758112") in new stack
-- H.323 call to 3758112 with codec(s) ulaw
-- Called 3758112
-- OH323/L15517 answered SIP/108-4ec4
-- H.323 call 'ip$localhost/15516' cleared, reason 8 (Transport failure)
-- Hungup 'OH323/L15516'

The call is dropped with a reason 8 (Transport failure)

the relevant portion of the extensions.conf file is

[macro-dialout]
exten => s,1,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?4)         ;check
for CID override
for exten
exten => s,2,SetCallerID(${ECID${CALLERIDNUM}})
exten => s,3,Goto(6)
exten => s,4,GotoIf($[foo${OUTCID_${ARG1}} = foo]?6)                
;check for CID override for
trunk
exten => s,5,SetCallerID(${OUTCID_${ARG1}})
exten => s,6,SetVar(length=${LEN(${DIAL_OUT_${ARG1}})})
exten => s,7,Dial(OH323/${ARG2:${length}})
exten => s,8,Congestion
exten => s,108,Macro(outisbusy)


the relevant portion of the extensions.conf file is

[macro-dialout]
exten => s,1,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?4)         ;check
for CID override
for exten
exten => s,2,SetCallerID(${ECID${CALLERIDNUM}})
exten => s,3,Goto(6)
exten => s,4,GotoIf($[foo${OUTCID_${ARG1}} = foo]?6)                
;check for CID override for
trunk
exten => s,5,SetCallerID(${OUTCID_${ARG1}})
exten => s,6,SetVar(length=${LEN(${DIAL_OUT_${ARG1}})})
exten => s,7,Dial(OH323/${ARG2:${length}})
exten => s,8,Congestion
exten => s,108,Macro(outisbusy)


; dialout using default OUT trunk - no prefix
[macro-dialout-default]
exten => s,1,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?4)         ;check
for CID override
for exten
exten => s,2,SetCallerID(${ECID${CALLERIDNUM}})
exten => s,3,Goto(6)
exten => s,4,GotoIf($[foo${OUTCID} = foo]?6)         ;check for CID
override for trunk
exten => s,5,SetCallerID(${OUTCID})
exten => s,6,Dial(OH323/${ARG1})
exten => s,7,Congestion
exten => s,107,Macro(outisbusy)

and oh323.conf is


general]
listenAddress=0.0.0.0
listenPort=1720
connectPort=1720
tcpStart=10000
tcpEnd=20000
udpStart=10000
udpEnd=20000
fastStart=yes
h245Tunnelling=no
h245inSetup=no
inBandDTMF=yes
silenceSuppression=no
jitterMin=20
jitterMax=100
ipTos=none
outboundMax=10
inboundMax=10
simultaneousMax=10
wrapLibTraceLevel=2
libTraceLevel=2
libTraceFile=stdout
; ip address changed to protect the innocent
gatekeeper=66.173.aaa.bbb
gatekeeperTTL=600
userInputMode=TONE
amaFlags=default
accountCode=H323
context=from-pstn

[register]

alias=7577471111
alias=7575881112
alias=7575311113
alias=7575831114
alias=7575311115

[codecs]

codec=G711U
frames=20





More information about the asterisk-users mailing list