<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000">
<TITLE>RE: H323 situation</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P DIR=LTR><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">Hi</FONT></SPAN><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">,</FONT></SPAN><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"></SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">Still I can</FONT></SPAN><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">manage to have good incoming calls from h323</FONT></SPAN><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">&#8230;</FONT></SPAN><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas"> C</FONT></SPAN><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">an someone give me a hand?</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">Regards,</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">LS</FONT></SPAN><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas"> </FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"></SPAN></P>
<UL DIR=LTR>
<P DIR=LTR><SPAN LANG="pt"></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">Date: Thu, 16 Jul 2009 15:46:43 +0100</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">From: Luis Silva &lt;luis.silva@dreamware.pt&gt;</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">Subject: [asterisk-users]</FONT></SPAN><SPAN LANG="pt"> <FONT FACE="Consolas">H323 situation</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">To: &lt;asterisk-users@lists.digium.com&gt;</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">Message-ID: &lt;00ab01ca0624$3c9f69b0$b5de3d10$@silva@dreamware.pt&gt;</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">Content-Type: text/plain; charset=&quot;us-ascii&quot;</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">Hi all,</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">I have this installation:</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">Asterisk 1.6.1.1&nbsp; with h323 support, pwlib_v1_10_3 and openh323_v1_18_0.</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">I have a&nbsp; problem that is, when a call comes from H323 and goes to a Sip</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">phone the asterisk sends two rtp streams to the sip. I checked this with</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">tcpdump, save the payload (voice is in G711u), one is the ringing indication</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">and the other is the voice coming from the user in h323 side. And worst they</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">go to the same port. This causes that in the sip phone there are problems,</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">when the call is answered sometimes we get the riging indication, others a</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">mix of the two with very bad sound quality and others(few) a god audio call.</FONT></SPAN></P>
<BR>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">The outgoing calls from sip to H323 are ok.</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">I also tested an incoming call from a dahdi channel and from here everything</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">is ok, only one rtp stream and a good call.</FONT></SPAN></P>
<BR>
<BR>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">By the way I had other problem that I fixed, but don't know if it was in the</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">best way.</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">The h323 box is a Cisco AS5300 (or 5350?) and when I was making outgoing</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">calls the AS disconnected all of them after 10 sec.</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">&nbsp;I investigated I noticed that the AS as a limitation to the G711 payload to</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">20 ms, and asterisk was using 150 ms. I resolve this changing in frame.c the</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">codec value and recompile asterisk. There is simpler way to do this? Like</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">changing values in codec.conf?...</FONT></SPAN></P>
<BR>
<BR>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">Regards</FONT></SPAN></P>

<P DIR=LTR><SPAN LANG="pt"><FONT FACE="Consolas">LS</FONT></SPAN></P>
</UL>
<P DIR=LTR><SPAN LANG="pt"></SPAN></P>

</BODY>
</HTML>