<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<STYLE type="text/css"><!--
BODY {
  margin: 5px 5px 5px 5px;
  background-color: #FFFFFF;
}
/*----------Text Styles----------*/
HR { color: #000000}
BODY, TABLE /* Normal text */
{
 font-size: 9pt;
 font-family: 'Courier New';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
SPAN.RVTS1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000FF;
}
SPAN.RVTS2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
SPAN.RVTS3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
A.RVTS4, SPAN.RVTS4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
A.RVTS5, SPAN.RVTS5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
SPAN.RVTS6
{
 font-weight: bold;
 color: #800000;
}
/*----------Para Styles----------*/
P,UL,OL /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.RVPS1 /* Centered */
{
 text-align: center;
 white-space: normal;
}

--></STYLE>
</HEAD>
<BODY>

<P>&nbsp;</P>
<P>Thanks.</P>
<P>&nbsp;</P>
<P>I tried your suggestion, and it make no use.&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;---&nbsp;</P>
<P>&nbsp;Best regards,</P>
<P>&nbsp;&nbsp;Qiao Yuansong</P>
<P>&nbsp;&nbsp;mailto: qys@iscas.ac.cn</P>
<P>&nbsp;</P>
<P>&nbsp;Friday, April 15, 2005, 10:21:16 AM, you wrote:</P>
<P>&nbsp;</P>
<P>&nbsp;<SPAN class=RVTS6>&gt; I'm Andrew.</SPAN></P>
<P>&nbsp;</P>
<P>&nbsp;<SPAN class=RVTS6>&gt; On April 14, 2005 10:01 pm, Qiao Yuansong wrote:</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt;&gt; My asterisk box and sip phone are not behind a nat, the sip phone and</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt;&gt; asterisk box are connected by LAN, so the delay is not caused by network</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt;&gt; congestion, and furthermore, there is no delay from sip to pstn.</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt;&gt;</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt;&gt; [sip phone]------LAN------[Asterisk with X100P]------[PSTN]</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt;&gt; sip to pstn (no delay)</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt;&gt; pstn to sip (half or one second delay)</SPAN></P>
<P>&nbsp;</P>
<P>&nbsp;<SPAN class=RVTS6>&gt; This doesn't make any sense; the streams are identical. &nbsp;Are different codecs</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; being negotiated when the call origination is one side then the other?</SPAN></P>
<P>&nbsp;</P>
<P>&nbsp;<SPAN class=RVTS6>&gt; put</SPAN></P>
<P>&nbsp;</P>
<P>&nbsp;<SPAN class=RVTS6>&gt; disallow=all</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; allow=ulaw</SPAN></P>
<P>&nbsp;</P>
<P>&nbsp;<SPAN class=RVTS6>&gt; in sip.conf, under [general] and comment out all other allow/disallow lines.</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; Restart asterisk and try again. &nbsp;Something basic is not right.</SPAN></P>
<P>&nbsp;</P>
<P>&nbsp;<SPAN class=RVTS6>&gt; -A.</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; _______________________________________________</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; Asterisk-Users mailing list</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; Asterisk-Users@lists.digium.com</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; http://lists.digium.com/mailman/listinfo/asterisk-users</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; To UNSUBSCRIBE or update options visit:</SPAN></P>
<P>&nbsp;<SPAN class=RVTS6>&gt; &nbsp; &nbsp;http://lists.digium.com/mailman/listinfo/asterisk-users</SPAN></P>
<P>&nbsp;</P>
<P>&nbsp;</P>

</BODY></HTML>