Maybe. But the ptime will have a minimum value and possibly need to be multiples of a value. The allowable ptimes are codec-dependant. 5ms may well be too low to be allowable.<div><br></div><div>You can specify it using a @5i suffix in your codec preferences to override the default.</div>



<div><br></div><div>But I would NOT recommend 5ms.... It refers to how long a sample to put in a single RTP frame (packet). Lower values mean you lose less audio data if you drop a packet but also mean you&#39;re sending more packets. Every packet has IP + UDP + RTP headers, so has a certain amount of overhead. There&#39;s a sweet spot between efficient bandwidth use and not losing too much data if packets are lost. With a 5ms ptime you&#39;re going to have a massive amount of overhead which isn&#39;t justified - the packets might well contain more header data than audio data. If you&#39;re on a slow connection you might even find you start getting packet loss you don&#39;t otherwise get because of the extra bandwidth being consumed by the headers.</div>



<div><br></div><div>I would recommend changing the setting on the client instead to use 20ms.</div><div><br></div><div>-Steve</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On 6 June 2013 12:57, Khue Nguyen Minh <span dir="ltr">&lt;<a href="mailto:khuenm@vega.com.vn" target="_blank">khuenm@vega.com.vn</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">Can I config ptime of FS to 5?</div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/6/6 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tell your SIP client to use a ptime of 20ms<div><div><div><br></div><div><br><br><div class="gmail_quote">
On 6 June 2013 12:04, Khue Nguyen Minh <span dir="ltr">&lt;<a href="mailto:khuenm@vega.com.vn" target="_blank">khuenm@vega.com.vn</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">Hi Antonio,<div><br></div><div>How I can fix it?</div><span><font color="#888888"><div><br>

</div><div>Khue.</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/6 Antonio Teixeira <span dir="ltr">&lt;<a href="mailto:eagle.antonio@gmail.com" target="_blank">eagle.antonio@gmail.com</a>&gt;</span><br>







<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hello.<br>
      <br>
      There is a mismtach on the ptime<br>
      <a href="http://wiki.freeswitch.org/wiki/Codecs" target="_blank">http://wiki.freeswitch.org/wiki/Codecs</a><div><br>
      <br>
      <br>
      PCMU:0:8000:<big><b>5</b></big>:64000<br>
      <br></div><div>
      PCMU:0:8000:<big><b>20</b></big>:64000<br>
      <br></div>
      Antonio<div><div><br>
      <br>
      On 6/6/13 11:12 AM, Khue Nguyen Minh wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>I&#39;m using FS to receive call forward from GMSC.
          But, I have error INCOMPATIBLE_DESTINATION when new incoming
          call. This is log from fs_cli, please solve for me.</div>
        <div>
          <br>
        </div>
        <div>
          <div>Audio Codec Compare
            [PCMA:8:8000:5:64000]/[G722:9:8000:20:64000]</div>
          <div>Audio Codec Compare
            [PCMA:8:8000:5:64000]/[PCMU:0:8000:20:64000]</div>
          <div>Audio Codec Compare
            [PCMA:8:8000:5:64000]/[PCMA:8:8000:20:64000]</div>
          <div>Audio Codec Compare
            [PCMA:8:8000:5:64000]/[GSM:3:8000:20:13200]</div>
          <div>Audio Codec Compare
            [AMR-WB:101:8000:5:0]/[G722:9:8000:20:64000]</div>
          <div>Audio Codec Compare
            [AMR-WB:101:8000:5:0]/[PCMU:0:8000:20:64000]</div>
          <div>Audio Codec Compare
            [AMR-WB:101:8000:5:0]/[PCMA:8:8000:20:64000]</div>
          <div>Audio Codec Compare
            [AMR-WB:101:8000:5:0]/[GSM:3:8000:20:13200]</div>
          <div>Audio Codec Compare
            [PCMU:0:8000:5:64000]/[G722:9:8000:20:64000]</div>
          <div>Audio Codec Compare
            [PCMU:0:8000:5:64000]/[PCMU:0:8000:20:64000]</div>
          <div>Audio Codec Compare
            [PCMU:0:8000:5:64000]/[PCMA:8:8000:20:64000]</div>
          <div>Audio Codec Compare
            [PCMU:0:8000:5:64000]/[GSM:3:8000:20:13200]</div>
          <div>Substituting codec PCMU@20i@8000h</div>
          <div>No audio codec available</div>
          <div>No 2833 in SDP.  Disable 2833 dtmf and switch to INFO</div>
          <div>Send signal <a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a> [BREAK]</div>
          <div>(<a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a>) Callstate Change
            RINGING -&gt; HANGUP</div>
          <div>Hangup <a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a> [CS_EXECUTE]
            [INCOMPATIBLE_DESTINATION]</div>
          <div>Send signal <a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a> [KILL]</div>
          <div>Send signal <a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a> [BREAK]</div>
          <div><a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a> skip receive message
            [APPLICATION_EXEC_COMPLETE] (channel is hungup already)</div>
          <div>(<a href="mailto:sofia/internal/963728839@x.x.x" target="_blank">sofia/internal/963728839@x.x.x</a>.) State EXECUTE going to
            sleep</div>
          <div>(<a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a>) Running State Change
            CS_HANGUP</div>
          <div>(<a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a>) State HANGUP</div>
          <div>Channel <a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a> hanging up,
            cause: INCOMPATIBLE_DESTINATION</div>
          <div>Responding to INVITE with: 488</div>
          <div><a href="mailto:sofia/internal/963728839@x.x.x.x" target="_blank">sofia/internal/963728839@x.x.x.x</a> Standard HANGUP, cause:
            INCOMPATIBLE_DESTINATION</div>
          <div><br>
          </div>
          <div>Brs,</div>
          <div>Khue Nguyen.</div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>