[Asterisk-Users] Cannot call OH323 swissvoice Phone

Astrit morina at ipko.net
Wed Oct 20 05:38:42 MST 2004


 Hi all,
I have completed asterisk-oh323 version 0.5.10 and I've registered it in
Gatekeeper (Cisco 3640 wich is H323 Proxy with Gatekeeper features), I've
also registered a Swissvoice in Gatekeeper . Now, when I make calls from
Cisco it works fine , 

but when I try to call from X-Lite it shows me the following errors :

Executing Dial("SIP/310-2dc9", "OH323/400 at 10.1.0.50") in new stack
Oct 20 14:50:12 ERROR[360471]: chan_oh323.c:2631 setup_h323_connection:
Request to open an existing channel 0 with the same direction 1.
    -- Called 400 at 10.1.0.50
Oct 20 14:50:12 WARNING[327701]: chan_oh323.c:1400 oh323_read: OH323/L20192:
Invalid format of RTP addresses.
    -- Hungup 'OH323/L20192'
  == No one is available to answer at this time

My oh323.conf is :
    
       ; Configuration file of OpenH323 channel driver

[general]

listenAddress=0.0.0.0
;
listenPort=1720
;
;
connectPort=1720
;
tcpStart=10000
tcpEnd=20000
;
udpStart=10000
udpEnd=20000
;
;
fastStart=no
;
h245Tunnelling=no
;
;
h245inSetup=no
;
inBandDTMF=no
;
silenceSuppression=yes
;
jitterMin=20
jitterMax=1000
;
ipTos=lowdelay
;
;
outboundMax=10
inboundMax=10
simultaneousMax=10
;
;
bandwidthLimit=1024
;
wrapLibTraceLevel=1
libTraceLevel=0
libTraceFile=stdout
;
gatekeeper=10.1.0.51
;
;
gatekeeperTTL=600
;
userInputMode=TONE


;-----------------------------------------
; Configure H.323 aliases, prefixes and
; related ASTERISK's contexts
;-----------------------------------------
[register]
;
context=h323
alias=astra

;-----------------------------------------
; Specify and configure CODEC related
; options
;-----------------------------------------
[codecs]
;
;
codec=G711A
frames=20
;
[astra]
type=h323
prefix=400
context=h323


My extension.conf is:

[general]
static=yes
writeprotect=no

[h323]
exten => 400,1,Dial(OH323/400 at 10.1.0.51)
include => sip
include => mgcp

[mgcp]
exten => 411,1,Dial(MGCP/aaln/1 at 10.1.0.62)
include => h323
include => sip

[sip]
include => mgcp
include => h323
exten => _[3]XX,1,NoOp(^<D3>call for ^<D3>${EXTEN})
exten => _[3]XX,2,Dial(SIP/${EXTEN},60,tr)
exten => _[3]XX,3,Congestion()

 I can see that asterisk is registered in gatekeeper

*CLI> oh323 show conf 

Configuration of OpenH323 channel driver
----------------------------------------
Version: 0.5.10
Listening on address: 0.0.0.0:1720
Gatekeeper used: gk at 10.1.0.51
FastStart/H245Tunnelling/H245inSetup: OFF/OFF/OFF
Supported format(s): ALAW<0> 
Jitter buffer limits (min/max): 20-1000 ms
TCP port range: 10000 - 20000
UDP (RAS) port range: 10000 - 20000
UDP (RTP) port range: 10000 - 20000
IP Type-of-Service value: 16
User input mode: 2
Max number of inbound H.323 calls: 10
Max number of outbound H.323 calls: 10
Max number of simultaneous H.323 calls: 10

Anyone to help me ???

Regards,

Astrit Morina
System Operator

Tel:  038 20304050
Fax:  038 20304020 
E-mail: astritm at ipko.net
www.ipko.net




More information about the asterisk-users mailing list