Hi guys,
For a couple of weeks I’ve been fighting this problem and finally hit the dead end. I trashed google for every piece of information, but nothing usefull came out…
Here is my problem.
I installed Asterisk 1.2.7.1-BRIstuffed-0.3.0-PRE-1p and asterisk-addons-1.2.3 for the ooh323 channel. Also i’ve installed the codec_g729-gcc-pentium4.so codec to enable the pass trough function of g729 codec (The only codec this cisco gateway supports).
The problem is that I cannot get any voice transmitted. Asterisk is not behind NAT. It successfully rings the oposite side, but when it picks up the phone the channel is disconnected.
Here are my conf files:
---------- sip.conf ---------------
[general]
context=SIP-phones
port=5060
bindaddr=0.0.0.0
srvlookup=no
disallow=all
allow=g729
allow=ulaw
allow=alaw
allow=gsm
pedantic=no
[201]
type = friend
host = dynamic
dtmfmode = rfc2833
context = SIP-phones
callerid = “201” <201>
username = 201
secret = xxxx
[202]
type = friend
host = dynamic
dtmfmode = rfc2833
context = SIP-phones
callerid = “202” <202>
username = 202
secret = xxxx
---------- extensions.conf ----------
[SIP-phones]
exten => _0XX.,1,Dial(OOH323/${EXTEN}/OUT,40,Ttr)
exten => _0XX.,2,Congestion()
-------- ooh323.conf changes -----
[OUT]
type=peer
context=VoIP-H323
ip=xxx.xxx.xxx.xxx ; UPDATE with appropriate ip address
port=1720 ; UPDATE with appropriate port
disallow=all
allow=g729
---------------------- logs -------------------
10:47:42:303 Master Slave Determination received (outgoing, ooh323c_o_1)
10:47:42:303 MasterSlaveDetermination done - Slave(outgoing, ooh323c_o_1)
10:47:42:303 Sent Message - Facility(OOTerminalCapabilitySetReject) (outgoing, ooh323c_o_1)
10:47:42:303 Tunneled Message - TerminalCapabilitySetAck (outgoing, ooh323c_o_1)
10:47:42:303 Sent Message - Facility(OOTerminalCapabilitySetAck) (outgoing, ooh323c_o_1)
10:47:42:303 Tunneled Message - TerminalCapabilitySet (outgoing, ooh323c_o_1)
10:47:42:303 Sent Message - Facility(OOMasterSlaveReject) (outgoing, ooh323c_o_1)
10:47:42:303 Tunneled Message - MasterSlaveDeterminationAck (outgoing, ooh323c_o_1)
10:47:42:304 H.225 Alerting message received (outgoing, ooh323c_o_1)
10:47:42:313 H.225 Facility message Received (outgoing, ooh323c_o_1)
10:47:42:313 Opening logical channels (outgoing, ooh323c_o_1)
10:47:42:313 Looking for matching capabilities. (outgoing, ooh323c_o_1)
10:47:42:313 ERROR:Incompatible audio capabilities - Can not open audio channel (outgoing, ooh323c_o_1)
10:47:42:313 ERROR:Failed to open audio channels. Clearing call.(outgoing, ooh323c_o_1)
10:47:42:313 Sent Message - ReleaseComplete (outgoing, ooh323c_o_1)
10:47:42:317 H.225 Facility message Received (outgoing, ooh323c_o_1)
10:47:42:317 Opening logical channels (outgoing, ooh323c_o_1)
10:47:42:317 Looking for matching capabilities. (outgoing, ooh323c_o_1)
10:47:42:317 ERROR:Incompatible audio capabilities - Can not open audio channel (outgoing, ooh323c_o_1)
10:47:42:317 ERROR:Failed to open audio channels. Clearing call.(outgoing, ooh323c_o_1)
10:47:42:318 H.225 Facility message Received (outgoing, ooh323c_o_1)
10:47:42:318 Created new logical channel entry (outgoing, ooh323c_o_1)
10:47:42:318 Receive channel of type OO_G729ANNEXA started at xxx.xxx.xxx.xxx:12122(outgoing, ooh323c_o_1)
10:47:42:318 Clearing all logical channels. (outgoing, ooh323c_o_1)
10:47:42:318 Clearing all logical channels (outgoing, ooh323c_o_1)
10:47:42:318 Stopped Receive channel 26685 (outgoing, ooh323c_o_1)
10:47:42:318 Sent Message - Facility(OOOpenLogicalChannelReject) (outgoing, ooh323c_o_1)
10:47:42:318 Tunneled Message - OpenLogicalChannelAck(26685) (outgoing,ooh323c_o_1)
10:47:42:326 Warn:RemoteEndpoint closed connection (outgoing, ooh323c_o_1)
10:47:42:326 Cleaning Call (outgoing, ooh323c_o_1)- reason:OO_REASON_LOCAL_CLEARED
10:47:42:326 Closing H.245 connection (outgoing, ooh323c_o_1)
10:47:42:326 Removed call (outgoing, ooh323c_o_1) from list
ERROR:Incompatible audio capabilities - Can not open audio channel ?!?!?!
When using chan_oh323.so channel, I have no problem talking with that gateway using the same g729 codec… but i have problems handling incoming voice traffic from the GnuGK gatekeeper… but that’s a differernce issue…
Is Asterisk’s OH323 channel actually able to handle G729 codec, and is there any solution for this problem…
Thank you very much for all your answers and support.
Best wishes,
Ventsi