[Asterisk-Dev] Early media in H.323 driver

Chih-Wei Huang cwhuang at citron.com.tw
Mon Mar 28 01:07:59 MST 2005


Hello all,
I encountered another problem about H.323 channel driver.
The scenario is, A calls Asterisk PBX, and then dials B.
B then sends ringback tone by early media (via faststart or so).
However, PBX said

chan_h323.c:703 oh323_write: Asked to transmit frame type 4, while
native formats is 1 (read/write = 1/1)

and hangup the call.

I have traced the problem several days. It seems to
be the codec translator problem. I believe it's due to
the translating patch from B to A is not correct be set.
But the codec translator mechamism is still too complicated
for me to figure it out.
I hope someone can point me a direction to solve
the problem.

PS. Both A and B use G.723.1 as the codec. I also installed
Intel IPP G.723.1 codec to Asterisk.
The problem disappears if I

* turn off the early media of B
* or, set G.723.1 as the only allowed codec in h323.conf


-- 
   ~     Chih-Wei Huang (cwhuang at citron.com.tw)
  'v'    CTO, Citron Network Inc. ( http://www.citron.com.tw/ )
 // \\   GnuGK Project : http://www.gnugk.org/    (Developer)
/(   )\  HomePage      : http://www.linux.org.tw/~cwhuang/
 ^`~'^



More information about the asterisk-dev mailing list