hello:<br>i want to test the g729 with asterisk. my <em></em>scenario&nbsp; is sipp(ulaw)-&gt;asterisk1 with g729-&gt;asterisk2 with g729.<br>I want to test g729 module with asterisk-1.4.21, when i make calls from asterisk 1 to asterisk 2, the asterisk 1 always send ulaw to asterisk 2. my sip in asterisk 1 is with codec g729 and enforce that use g729, the sip in asterisk 2 also work with G729 only, but asterisk 2 reports the condec compatibility&nbsp; problem. both of asterisks can show g729 are there. <br>===================================<br>exten =&gt; 2005,1,Answer<br>exten =&gt; 2005,2,Set(${SIP_CODEC}=g729) // does not work<br>exten =&gt; 2005,3,DIAL(SIP/1000@192.168.2.127,30,r)<br>exten =&gt; 2005,4,Hangup<br>===use sipp t call asterisk 1 then forward to asterisk 2 with sip 1000.<br>------------------sip.conf
 ----------------------------------------------------<br>[1000]<br>username=1000<br>allowtransfer=yes<br>type=friend<br>secret=1000<br>qualify=yes<br>canreinvite=yes<br>host=dynamic<br>insecure=very<br>fromuser=1000<br>;dtmfmode=rfc2833<br>disallow=all<br>allow=g729<br>;allow=ulaw<br>;allow=alaw<br>context=internal<br>--------------------------------------------<br>when the calls coming from asterisk 1, i can not see any g729 inforamtion, the Noop(${SIP_CODEC}) show nothing. <br>some people reported the bug for sip_codec, i followed that, but i still can not. sovle. anyone knows how&nbsp; to set sip_codec in dialplan or have any right format for set sip_codec in dialplan?<br>thanks!<br>zhu<br><br><p>&#32;


      <hr size=1><a href="http://cn.mail.yahoo.com/"> ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡</a>