<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.3959" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>Hello every 
body. </FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>I originally 
ran into the problem on * 1.4.10, but am able to replicate quite nicly on 
1.4.11.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>I have 
asterisk installed on gentoo. Using a Polycom 601 phone, codec g729. trying to 
dial out to the PSTN via an openSER proxy with an Audiocodes 
gateway.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2>progressinband is set to yes.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>When i dial 
out to the PSTN asterisk dies upon the receipt of the first RTP packet from the 
phone. i have traced the problem to the ast_rtp_read call in rtp.c.  i have 
looked into things to the point that i know when an RTP packet comes from the 
phone and rtp->f.samples (line 1300) value is set to 160 (in my case), the 
function call does not return to the place it came from (asterisk 
crashes).  i have experimented a bit by manulally setting rtp->f.samples 
to various values.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>when set to 
0 asterisk does not die, it contiues to run.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>when set to 
1 asterisk dies after receiving a few dozen RTP packets.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>when set to 
31 asterisk dies after receiving 3-4 RTP packets.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>so, the 
higher the samples value the quicker the death.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>(gdb) 
bt</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>#0  
0x08267e69 in autocorr (r=0x869e6c4, x=0xc, N=-1228178720, order=222647369) at 
helpfun.c:38<BR>#1  0xb6f656fb in coder_ld8a () from 
/usr/lib/asterisk/modules/codec_g729a.so<BR>#2  0xb6f6562f in g729_coder () 
from /usr/lib/asterisk/modules/codec_g729a.so<BR>#3  0xb6eeb4de in ?? () 
from /usr/lib/asterisk/modules/codec_g729a.so<BR>#4  0x0869e6c4 in ?? 
()<BR>#5  0x086a0688 in ?? ()<BR>#6  0x086a4548 in ?? ()<BR>#7  
0xb6cb7dd8 in ?? ()<BR>#8  0xb78e2ff4 in ?? () from 
/lib/libc.so.6<BR>#9  0x00000000 in ?? ()</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>I am pretty 
much at a loss as to where to look or what to do to resolve this 
issue.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" size=2>Any 
suggestions would be welcomed.  If there is any additional information that 
people would like to see, i will try to provide.</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face="Courier New" 
size=2>-PCPIII</FONT></SPAN></DIV>
<DIV><SPAN class=372304821-19092007></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=372304821-19092007></SPAN> </DIV></BODY></HTML>