<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    It's the git version from yesterday evening:<br>
    <br>
    <blockquote>freeswitch@internal&gt; version<br>
      FreeSWITCH Version 1.0.head (git-633f193 2010-09-29 16-52-43
      -0500)<br>
    </blockquote>
    BR<br>
        Jan<br>
    <br>
    Am 30.09.2010 12:45, schrieb David Ponzone:
    <blockquote cite="mid:BD98FCB1-C4A5-47B8-8A1E-38E759831015@ipeva.fr"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      Jan,
      <div><br>
      </div>
      <div>as far as I know, FS does not care about the ptime.</div>
      <div>The behaviour you are noticing is weird.</div>
      <div><br>
      </div>
      <div>Can you tell us which version you are using ?</div>
      <div><br>
        <div>
          <div> <span>
              <div><span>
                  <div>
                    <div> David Ponzone   <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:      01 74 03 18 97</span> </div>
                    <div> <span>gsm:   06 66 98 76 34</span> </div>
                    <div> <br>
                    </div>
                    <div> Service Client<span> </span> IP eva </div>
                    <div> <span>
                        <div> <span>tel:      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> 
                                -   <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. </i><b><i>IPeva</i></b><i> 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 30/09/2010 à 12:25, Jan Riedinger a écrit :</div>
            <br>
            <blockquote type="cite">
              <div>  I'm using the following configuration:<br>
                <br>
                vars.xml:<br>
                &lt;X-PRE-PROCESS cmd="set" <br>
data="global_codec_prefs=G729,PCMU,PCMA,G723,G7221@32000h,G7221@16000h,G722,GSM"/&gt;<br>
                &lt;X-PRE-PROCESS cmd="set" <br>
                data="outbound_codec_prefs=G729,PCMU,PCMA,G723,GSM"/&gt;<br>
                <br>
                external.xml (my standard sip profile):<br>
                &lt;param name="inbound-codec-negotiation"
                value="greedy"/&gt;<br>
                &lt;param name="inbound-late-negotiation"
                value="false"/&gt;<br>
                &lt;param name="disable-transcoding" value="true"/&gt;<br>
                <br>
                With this configuration I want to restrict the allowed
                codecs, force the <br>
                usage of G729 as first choice, if available and to
                minimize the calls <br>
                with transcoding.  I don't want to force the usage of a
                specific frame size.<br>
                <br>
                Now a lot of calls get rejected with "incompatible
                destination" by <br>
                FreeSwitch, because the frame size of the incoming calls
                differs from <br>
                the Freeswitch default (mostly 20 ms), see the debug log
                below.<br>
                <br>
                Is this the intended behaviour? If it is, how can I
                circumvent it? Do I <br>
                have to list every codec with every possible frame size
                in the <br>
                global_codec_prefs list?<br>
                <br>
                Thank you in advance<br>
                       Jan<br>
                <br>
                2010-09-30 10:25:45.798068 [DEBUG] sofia.c:4469
                Channel <br>
                <a moz-do-not-send="true"
                  href="mailto:sofia/external/0049xxx@X.X.X.X">sofia/external/0049xxx@X.X.X.X</a>
                entering state [received][100]<br>
                2010-09-30 10:25:45.798068 [DEBUG] sofia.c:4480
                Remote SDP:<br>
                v=0<br>
                <br>
                o=- 554229 1 IN IP4 X.X.X.X<br>
                <br>
                s=-<br>
                <br>
                c=IN IP4 X.X.X.X<br>
                <br>
                t=0 0<br>
                <br>
                a=sendrecv<br>
                <br>
                m=audio 26044 RTP/AVP 18 4 0 8 96 101<br>
                <br>
                a=fmtp:18 annexb=yes<br>
                <br>
                a=rtpmap:96 G726-32/8000<br>
                <br>
                a=rtpmap:101 telephone-event/8000<br>
                <br>
                a=ptime:60<br>
                <br>
                a=silenceSupp:off - - - -<br>
                <br>
                <br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G729:18:8000:60:0]/[G729:18:8000:20:8000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G723:4:8000:60:0]/[G729:18:8000:20:8000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMU:0:8000:60:0]/[G729:18:8000:20:8000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMA:8:8000:60:0]/[G729:18:8000:20:8000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G726-32:96:8000:60:0]/[G729:18:8000:20:8000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [telephone-event:101:8000:60:0]/[G729:18:8000:20:8000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4335 Set 2833 <br>
                dtmf send/recv payload to 101<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G729:18:8000:60:0]/[PCMU:0:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G723:4:8000:60:0]/[PCMU:0:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMU:0:8000:60:0]/[PCMU:0:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMA:8:8000:60:0]/[PCMU:0:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G726-32:96:8000:60:0]/[PCMU:0:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [telephone-event:101:8000:60:0]/[PCMU:0:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4335 Set 2833 <br>
                dtmf send/recv payload to 101<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G729:18:8000:60:0]/[PCMA:8:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G723:4:8000:60:0]/[PCMA:8:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMU:0:8000:60:0]/[PCMA:8:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMA:8:8000:60:0]/[PCMA:8:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G726-32:96:8000:60:0]/[PCMA:8:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [telephone-event:101:8000:60:0]/[PCMA:8:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4335 Set 2833 <br>
                dtmf send/recv payload to 101<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G729:18:8000:60:0]/[G7221:115:32000:20:48000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G723:4:8000:60:0]/[G7221:115:32000:20:48000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMU:0:8000:60:0]/[G7221:115:32000:20:48000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMA:8:8000:60:0]/[G7221:115:32000:20:48000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [G726-32:96:8000:60:0]/[G7221:115:32000:20:48000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [telephone-event:101:8000:60:0]/[G7221:115:32000:20:48000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4335 Set 2833 <br>
                dtmf send/recv payload to 101<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G729:18:8000:60:0]/[G7221:107:16000:20:32000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G723:4:8000:60:0]/[G7221:107:16000:20:32000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMU:0:8000:60:0]/[G7221:107:16000:20:32000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMA:8:8000:60:0]/[G7221:107:16000:20:32000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [G726-32:96:8000:60:0]/[G7221:107:16000:20:32000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [telephone-event:101:8000:60:0]/[G7221:107:16000:20:32000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4335 Set 2833 <br>
                dtmf send/recv payload to 101<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G729:18:8000:60:0]/[G722:9:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G723:4:8000:60:0]/[G722:9:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMU:0:8000:60:0]/[G722:9:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMA:8:8000:60:0]/[G722:9:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G726-32:96:8000:60:0]/[G722:9:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [telephone-event:101:8000:60:0]/[G722:9:8000:20:64000]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4335 Set 2833 <br>
                dtmf send/recv payload to 101<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G729:18:8000:60:0]/[GSM:3:8000:20:13200]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G723:4:8000:60:0]/[GSM:3:8000:20:13200]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMU:0:8000:60:0]/[GSM:3:8000:20:13200]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [PCMA:8:8000:60:0]/[GSM:3:8000:20:13200]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare [G726-32:96:8000:60:0]/[GSM:3:8000:20:13200]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4233 Audio Codec <br>
                Compare
                [telephone-event:101:8000:60:0]/[GSM:3:8000:20:13200]<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4335 Set 2833 <br>
                dtmf send/recv payload to 101<br>
                2010-09-30 10:25:45.798068 [DEBUG]
                sofia_glue.c:4335 Set 2833 <br>
                dtmf send/recv payload to 101<br>
                2010-09-30 10:25:45.799052 [DEBUG] <br>
                switch_core_state_machine.c:314 (<a
                  moz-do-not-send="true"
                  href="mailto:sofia/external/0049xxx@x.x.x.x">sofia/external/0049xxx@x.x.x.x</a>)
                Running <br>
                State Change CS_NEW<br>
                2010-09-30 10:25:45.799052 [DEBUG] <br>
                switch_core_state_machine.c:320 (<a
                  moz-do-not-send="true"
                  href="mailto:sofia/external/0049xxx@x.x.x.x">sofia/external/0049xxx@x.x.x.x</a>)
                State NEW<br>
                2010-09-30 10:25:45.799052 [DEBUG]
                switch_channel.c:2359 <br>
                (<a moz-do-not-send="true"
                  href="mailto:sofia/external/0049xxx@x.x.x.x">sofia/external/0049xxx@x.x.x.x</a>)
                Callstate Change DOWN -&gt; HANGUP<br>
                2010-09-30 10:25:45.799052 [DEBUG] <br>
                switch_core_state_machine.c:314 (<a
                  moz-do-not-send="true"
                  href="mailto:sofia/external/0049xxx@x.x.x.x">sofia/external/0049xxx@x.x.x.x</a>)
                Running <br>
                State Change CS_HANGUP<br>
                2010-09-30 10:25:45.799052 [NOTICE] sofia.c:4686
                Hangup <br>
                <a moz-do-not-send="true"
                  href="mailto:sofia/external/0049xxx@x.x.x.x">sofia/external/0049xxx@x.x.x.x</a>
                [CS_NEW] [INCOMPATIBLE_DESTINATION]<br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                -- <br>
                Jan Riedinger                           Phone :
                 +49-30-39 73 19 66<br>
                Dipl.-Inf. | Managing Director          Fax   :
                 +49-30-39 73 19 64<br>
                                                        E-Mail:  <a
                  moz-do-not-send="true" href="mailto:riedinger@sns.eu">riedinger@sns.eu</a><br>
                SNS Consult GmbH                        ICQ   :
                 163-237-041<br>
                Südwestkorso 49a                        MSN   :  <a
                  moz-do-not-send="true"
                  href="mailto:jan@sns-consult.de">jan@sns-consult.de</a><br>
                14197 Berlin GERMANY                    Skype :  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>
      </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>
  </body>
</html>