But that is not supported in g729<div><br></div><div>Inband DTMF is not supported on codec g729. Use RFC2833<br><br>Still media is through Asterisk&nbsp;</div><div><br><div class="gmail_quote">On Sat, Mar 9, 2013 at 3:34 AM, kingman chui <span dir="ltr">&lt;<a href="mailto:chuikingman@yahoo.com.hk" target="_blank">chuikingman@yahoo.com.hk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>If you want to use direcmedia = yes , in order take to effect.You must not set dtmf&nbsp;= rfc2833 .You should set it dtmf =&nbsp; info.</span></div>

<div><span>It should work then.</span></div><div><span></span>&nbsp;</div><div><span>Regard/chui king man</span></div><div><br><blockquote style="padding-left:5px;margin-top:5px;margin-left:5px;border-left-color:rgb(16,16,255);border-left-width:2px;border-left-style:solid">

  <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> <div style="margin:5px 0px;padding:0px;border:1px solid rgb(204,204,204);min-height:0px;line-height:0;font-size:0px" readonly>

</div>  <b><span style="font-weight:bold">寄件人︰</span></b> Mark Henry &lt;<a href="mailto:markhenry430@gmail.com" target="_blank">markhenry430@gmail.com</a>&gt;<br> <b><span style="font-weight:bold">收件人︰</span></b> <a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a> <br>

 <b><span style="font-weight:bold">傳送日期︰</span></b> 2013年03月9日 (週六) 7:23 AM<br> <b><span style="font-weight:bold">主題︰</span></b> [asterisk-users] Directmedia question<br> </font> </div><div><div class="h5"> <br><div><div>

<span style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;display:inline!important;float:none;word-spacing:0px">Hello List,&nbsp;</span></div>


<div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
<br>&nbsp;</div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
I have some doubt about direct media settings.&nbsp;</div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">


<br></div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
I have an asterisk 1.8.14 instance running on 172.20.255.50, a soft phone on IP 10.100.210.51 and a gateway at 10.100.210.254</div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">


<br></div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
I have set both gateway and peer to &nbsp;&quot;directmedia=yes&quot; but still on gateway I see RTP from asterisk&#39;s IP, have tried setting nat=yes/no and also specifying localnet values but not sure where I am doing wrong. Also directrtpsetup is set to yes</div>


<div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
<br></div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
A sip debug and sip show peer output is here<span>&nbsp;</span><a style="color:rgb(17,85,204)" href="http://pastebin.com/5PwqJ1KW" rel="nofollow" target="_blank">http://pastebin.com/5PwqJ1KW</a><span>&nbsp;</span>&nbsp;</div>
<div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
<br></div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
Please assist</div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">


<br></div><div style="text-indent:0px;letter-spacing:normal;font-stretch:normal;color:rgb(34,34,34);text-transform:none;font:13px/normal arial,sans-serif;white-space:normal;font-size-adjust:none;word-spacing:0px">
Thanks</div>
</div><br></div></div><span class="HOEnZb"><font color="#888888">--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com/</a> --<br>

New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>

&nbsp;  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br> </font></span></div> </div> </blockquote></div>   </div></div><br>--<br>


_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp; &nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>