<div dir="ltr"><div>Is it possible i can change it for G729 codec ? <br>Like G729@40i ?<br><br></div><div>On my Server G729 as Pass-through mode.<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 24, 2015 at 6:40 AM, David Witham <span dir="ltr">&lt;<a href="mailto:david.witham@netsip.com.au" target="_blank">david.witham@netsip.com.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Bhahvik,<br>
</p>
<p><br>
</p>
<p>We have instances were ptime:30 is signalled but the stream is actually ptime:20 so we override the signalling with this:<br>
</p>
<p><br>
</p>
<p>absolute_codec_string=PCMA@20i,PCMU@20i​<br>
</p>
<p><br>
</p>
<p>It is slightly different to your examples below but 3 and 4 are close - I&#39;ve used @ instead of &quot;at&quot;.<br>
</p>
<p><br>
</p>
<p>Hope this helps,<br>
</p>
<p>David<br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> &lt;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>&gt; on behalf of Kamil Nigmatullin &lt;<a href="mailto:kamil.nigmatullin@gmail.com" target="_blank">kamil.nigmatullin@gmail.com</a>&gt;<br>
<b>Sent:</b> Saturday, 22 August 2015 22:57<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Change ptime value</font>
<div> </div>
</div><div><div class="h5">
<div>
<p dir="ltr">I know you can do this easyly with opensips </p>
<div class="gmail_quote">22 авг. 2015 г. 16:10 пользователь &quot;bhavik patel&quot; &lt;<a href="mailto:bhavikpatel14388@gmail.com" target="_blank">bhavikpatel14388@gmail.com</a>&gt; написал:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hello Everyone,<br>
<br>
I want to change ptime configuration. Will anyone  assist me to change ptime value 20 to 40 for codec PCMU,PCMA ?<br>
<br>
</div>
FLow : <b>SIP-PHONE---Ptime(20)--&gt;FS server (Need to change Ptime to 40) ----------&gt;To Provider</b><br>
<div><br>
</div>
<div>NOTE : If I send 40 Ptime From SIP-PHONE then Call quality is Good but for this i need to change all phones&#39; ptime and I don&#39;t want to change it manually.So I need to change this From FS Side.<br>
</div>
<div><br>
Currently I can see below log in freeswitch logs :<br>
<br>
m=audio 8000 RTP/AVP 98 97 8 0 3 101<br>
a=rtpmap:98 speex/16000<br>
a=rtpmap:97 speex/8000<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:3 GSM/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=ptime:20<br>
Dialplan: sofia/default/<a href="mailto:4602534812@192.168.1.26" target="_blank">4602534812@192.168.1.26</a> Action bridge(sofia/gateway/localgateway/001***)<br>
<br>
m=audio 24716 RTP/AVP 8 101 13<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=ptime:20<br>
a=sendrecv<br>
<br>
I tried different solutions for this issue but no luck.<br>
<br>
1. Add below line before Bridge Channel<br>
  set(absolute_codec_string=PCMU@8000@40i,PCMA@8000@40i)<br>
 <br>
2. Add below line before Bridge Channel<br>
 set(absolute_codec_string=PCMU at 8000@40i,PCMA at 8000@40i)<br>
 <br>
3.Change below parameter in SIP profile<br>
   1.outbound-codec-prefs=PCMU,PCMA to outbound-codec-prefs=PCMU@8000@@40i,PCMU@16000@@40i,PCMU@32000@@40i,PCMA@8000@40i,PCMA@16000@40i,PCMA@32000@40i<br>
   <br>
   2.outbound-codec-prefs=PCMU,PCMA,rtp-autofix-timing=false<br>
   <br>
   3.outbound-codec-prefs=PCMU,PCMA,absolute_codec_string=PCMU at 40i,PCMA at 40i,rtp-autofix-timing=false<br>
<br>
   4.outbound-codec-prefs=PCMU at40i,PCMA at 40i<br>
   <br>
   5.outbound-codec-prefs=PCMU at 8000h@40i,PCMA at 8000h@40i,inbound-late-negotiation=false<br>
<br>
   6.outbound-codec-prefs=G729,PCMU,PCMA,inbound-late-negotiation=false<br>
<br>
<br>
Please point me where i am doing wrong.<br clear="all">
<br>
<br>
-- <br>
<div>Thanks,<br>
Bhavik Patel<br>
<br>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
</div>
</div></div></div>
</div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Thanks,<br>Bhavik Patel<br><br></div>
</div>