<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You could also check with your carrier why they dont accept the custom ptime you need, or normalize your customers' config.<div><br></div><div>I have a nice extension I made that denies calls if ptime is not 20ms, with early-neg or late-neg:</div><div><br></div><div><div>&nbsp;&nbsp;&lt;extension name="check-ptime" continue="true"&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;condition field="${sip_use_codec_ptime}" expression="20" break="on-true"/&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;condition field="${ep_codec_string}" expression="@20i"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;anti-action application="respond" data="488"/&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;anti-action application="hangup" data="88"/&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/condition&gt;</div><div>&nbsp;&nbsp;&lt;/extension&gt;</div></div><div><br></div><div><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone &nbsp;</font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: &nbsp; &nbsp; &nbsp;01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: &nbsp; 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space">&nbsp;</span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: &nbsp; &nbsp; &nbsp;0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); ">&nbsp; -&nbsp; &nbsp;<span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération.&nbsp;</i><b><i>IPeva</i></b><i>&nbsp;décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"> </div><br><div><div>Le 04/10/2010 à 18:11, Jan Riedinger a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div bgcolor="#ffffff" text="#000000">    I think, it would be a could idea to make it configurable, if    mod_com_g729 shall decode/encode the stream to re-packetize. With    the current behaviour its usage is&nbsp; too expensive for me in respect    of money needed for licences and CPU power. Most of my calls are    calls are g729 to g729, transcodeding is needed only very rare.<br>    <br>    <br>    <br>    Am 04.10.2010 17:46, schrieb David Ponzone:    <blockquote cite="mid:FFF3584F-4412-4EEE-AA98-0D266DE5DE0C@ipeva.fr" type="cite">            I just discovered a situation like that.      <div>If the ptime of leg A and leg B does not match, FS will        decode/encode the stream in order to re-packetize (despite the        fact that mod_com_g729 is capable to re-packetize even without        any license installed).</div>      <div><br>      </div>      <div>I was thinking that it was not optimal, but Anthony explained        some minutes ago on #freeswitch why this was the preferred        behaviour, despite the quality loss it causes.</div>      <div><br>        <div> <span>            <div><span>                <div>                  <div> David Ponzone &nbsp; <span>Direction Technique</span>                  </div>                  <div> <span>email: <a moz-do-not-send="true" href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span>                  </div>                  <div> <span>tel: &nbsp; &nbsp; &nbsp;01 74 03 18 97</span> </div>                  <div> <span>gsm: &nbsp; 06 66 98 76 34</span> </div>                  <div> <br>                  </div>                  <div> Service Client<span>&nbsp;</span> IP eva </div>                  <div> <span>                      <div> <span>tel: &nbsp; &nbsp; &nbsp;0811 46 26 26</span> </div>                      <div> <span>                          <div><span><a moz-do-not-send="true" href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span>&nbsp;                              -&nbsp; &nbsp;<span><a moz-do-not-send="true" href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div>                          <div><span><br>                            </span></div>                          <div><span>                              <div><i>Ce message et toutes les pièces                                  jointes sont confidentiels et établis                                  à l'intention exclusive de ses                                  destinataires. Toute utilisation ou                                  diffusion non autorisée est interdite.                                  Tout message électronique est                                  susceptible d'altération.&nbsp;</i><b><i>IPeva</i></b><i>&nbsp;décline                                  toute responsabilité au titre de ce                                  message s'il a été altéré, déformé ou                                  falsifié. Si vous n'êtes pas                                  destinataire de ce message, merci de                                  le détruire immédiatement et d'avertir                                  l'expéditeur.</i></div>                              <div> <i><br>                                </i> </div>                            </span></div>                        </span> </div>                    </span> </div>                </div>              </span><br>            </div>          </span><br>        </div>        <br>        <div>          <div>Le 04/10/2010 à 17:20, Jan Riedinger a écrit :</div>          <br>          <blockquote type="cite">            <div> &nbsp;Using <a moz-do-not-send="true" href="http://files.freeswitch.org/g729/fsg729-158-installer">http://files.freeswitch.org/g729/fsg729-158-installer</a>              really did <br>              fix the issue described below.<br>              <br>              However, it seems that the licence is used (up), even if              there is no transcoding needed. In my CDR I find for all              calls, for which G729 is involed at all,<br>              <br>              read_codec="G729", read_rate="8000", write_codec="G729",              write_rate="8000"<br>              <br>              Nevertheless, all of these calls use a G729 licence. Is              there any way to <br>              find out, why mod_com_g729 wants to do any kind of              transcoding?<br>              <br>              BR<br>              &nbsp;&nbsp;&nbsp;&nbsp;Jan<br>              <br>              now the cod<br>              <br>              Am 04.10.2010 15:15, schrieb Brian West:<br>              <blockquote type="cite"><a moz-do-not-send="true" href="http://files.freeswitch.org/g729/fsg729-158-installer">http://files.freeswitch.org/g729/fsg729-158-installer</a><br>              </blockquote>              <blockquote type="cite"><br>              </blockquote>              <blockquote type="cite">Just the CDN doesn't have the                index updated yet. &nbsp;That will fix your issue.<br>              </blockquote>              <blockquote type="cite"><br>              </blockquote>              <blockquote type="cite">/b<br>              </blockquote>              <blockquote type="cite"><br>              </blockquote>              <blockquote type="cite">On Oct 4, 2010, at 8:09 AM, David                Ponzone wrote:<br>              </blockquote>              <blockquote type="cite"><br>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">Nope, you have to install them                  manually.<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">Current is v158.<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">You can download it from the                  same place than 153, but via direct URL only.<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">It's still Beta I think.<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite"><br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">David Ponzone &nbsp;Direction                  Technique<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">email: <a moz-do-not-send="true" href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a><br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">tel: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;01 74 03 18 97<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">gsm: &nbsp;&nbsp;06 66 98 76 34<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite"><br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">Service Client IPeva<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">tel: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0811 46 26 26<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite"><a class="moz-txt-link-abbreviated" href="http://www.ipeva.fr">www.ipeva.fr</a> &nbsp;- &nbsp;&nbsp;<a moz-do-not-send="true" href="http://www.ipeva-studio.com">www.ipeva-studio.com</a><br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite"><br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite">Ce message et toutes les pièces                  jointes sont confidentiels et établis à l'intention                  exclusive de ses destinataires. Toute utilisation ou                  diffusion non autorisée est interdite. Tout message                  électronique est susceptible d'altération. IPeva                  décline toute responsabilité au titre de ce message                  s'il a été altéré, déformé ou falsifié. Si vous n'êtes                  pas destinataire de ce message, merci de le détruire                  immédiatement et d'avertir l'expéditeur.<br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite"><br>                </blockquote>              </blockquote>              <blockquote type="cite">                <blockquote type="cite"><br>                </blockquote>              </blockquote>              <blockquote type="cite"><br>              </blockquote>              <blockquote type="cite">_______________________________________________<br>              </blockquote>              <blockquote type="cite">FreeSWITCH-users mailing list<br>              </blockquote>              <blockquote type="cite"><a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>              </blockquote>              <blockquote type="cite"><a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>              </blockquote>              <blockquote type="cite">UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>              </blockquote>              <blockquote type="cite"><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>              </blockquote>              <br>              -- <br>              Jan Riedinger &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Phone : &nbsp;+49-30-39              73 19 66<br>              Dipl.-Inf. | Managing Director &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fax &nbsp;&nbsp;: &nbsp;+49-30-39              73 19 64<br>              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;E-Mail: &nbsp;<a moz-do-not-send="true" href="mailto:riedinger@sns.eu">riedinger@sns.eu</a><br>              SNS Consult GmbH &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ICQ &nbsp;&nbsp;:              &nbsp;163-237-041<br>              Südwestkorso 49a &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MSN &nbsp;&nbsp;: &nbsp;<a moz-do-not-send="true" href="mailto:jan@sns-consult.de">jan@sns-consult.de</a><br>              14197 Berlin GERMANY &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skype : &nbsp;Jan              Riedinger<br>              <br>              AG Charlottenburg - HRB 71973<br>              <br>              <br>              _______________________________________________<br>              FreeSWITCH-users mailing list<br>              <a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br> <a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>              <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>            </div>          </blockquote>        </div>        <br>      </div>      <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>    </blockquote>    <br>    <pre class="moz-signature" cols="72">-- 
Jan Riedinger                           Phone :  +49-30-39 73 19 66
Dipl.-Inf. | Managing Director          Fax   :  +49-30-39 73 19 64
                                        E-Mail:  <a class="moz-txt-link-abbreviated" href="mailto:riedinger@sns.eu">riedinger@sns.eu</a>
SNS Consult GmbH                        ICQ   :  163-237-041
Südwestkorso 49a                        MSN   :  <a class="moz-txt-link-abbreviated" href="mailto:jan@sns-consult.de">jan@sns-consult.de</a>
14197 Berlin GERMANY                    Skype :  Jan Riedinger

AG Charlottenburg - HRB 71973
</pre>  </div> </blockquote></div><br></div></body></html>