Hi,
I am using Asterisk 1.4.27 on Centos 5.3, source compiled with pwlib and openh323.
I have a Hypermedia GSM server, HG-4000.
When i use a Ubuntu machine and SJPhone(soft phone), it converses with hypermedia server and is able to make a dial-out successfully.
but Asterisk is not able to do that call.
What could be the issue?
[code]---------------ooh323.conf--------------
[general]
;port=1720
bindaddr=0.0.0.0
h323id=ObjSysAsterisk
e164=100
callerid=asterisk
;gateway=no
gatekeeper = DISABLE
;faststart=yes
;h245tunneling=yes
;mediawaitforconnect=no
;logfile=/var/log/asterisk/h323_log
context=default
;rtptimeout=60
;tos=lowdelay
;amaflags = default
;accountcode=h3230101
disallow=all ;Note order of disallow/allow is important.
allow=gsm
allow=ulaw
dtmfmode=rfc2833
[myuser1]
type=user
context=context1
disallow=all
allow=gsm
allow=ulaw
[mypeer1]
type=peer
context=to-hmgw
ip=192.168.2.4 ; UPDATE with appropriate ip address
port=1720 ; UPDATE with appropriate port
;e164=101
; GSM VOIP Gateway HG-4000
allow=all
dtmfmode=h245signal
faststart=no
h245tunnelling=no
[myfriend1]
type=friend
context=to-hmgw
ip=192.168.2.4 ; UPDATE with appropriate ip address
port=1720 ; UPDATE with appropriate port
;disallow=all
allow=all
e164=12345
rtptimeout=60
faststart=no
dtmfmode=rfc2833
-------------------------------[/code]
extensions.conf for ooh323
; ******* handle GSM calls in asterisk *******
[from-hmgw]
exten => _X.,1,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => _X.,2,Set(TIMEOUT(response)=10) ; Set Response Timeout to 10 seconds
exten => _X.,3,answer
exten => _X.,4,Playback(song1)
exten => _X,n,Hangup
;add your code here
; ******* transfer calls to GSM gateway connected through H323 interface ******
[to-hmgw]
exten => _X.,1,dial(ooh323/${EXTEN}@192.168.2.4)
exten => _X.,n,hangup