<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>You can&#39;t reinvite our 200ok has only pcmu so yes it will 488<br><br>Sent from my iPhone</div><div><br>On Feb 1, 2013, at 10:56 PM, &quot;Александр Мустафин&quot; &lt;<a href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a>&gt; wrote:<br>
<br></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  
  
    <div class="moz-cite-prefix">Hello, Steven.<br>
      <br>
      Thank you for reply.<br>
      <br>
      Maybe my DID-provider is buggy, but I&#39;ve succesfull calls in the
      other pbx with the same number.<br>
      Short examples below - second example is work.<br>
      <br>
               FS (1st test)<br>
      <br>
      ----&gt; INVITE (PCMU,PCMA)<br>
      &lt;---- 100 Trying<br>
      &lt;---- 200 OK (PCMU)<br>
      ----&gt; ACK<br>
      ----&gt; Re-INVITE (PCMA)<br>
      &lt;---- 100 Trying<br>
      &lt;---- 488 Not Acceptable Here<br>
      <br>
               CG (2nd test)<br>
      <br>
      ----&gt; INVITE (PCMU,PCMA)<br>
      &lt;---- 100 Trying<br>
      &lt;---- 200 OK (PCMU, PCMA)<br>
      ----&gt; ACK<br>
      ----&gt; Re-INVITE (PCMA)<br>
      &lt;---- 100 Trying<br>
      &lt;---- 200 OK (PCMA)<br>
      ----&gt; ACK<br>
      <br>
      02.02.2013 02:41, Steven Ayre пишет:<br>
    </div>
    <blockquote cite="mid:CAFiqYumGReQx6Q7vVKDsTyEuLM4Drxu1R36yLQAOw-qO3Ssrtg@mail.gmail.com" type="cite">
      <blockquote type="cite">
        <pre>How can I manage set of codec in inbound calls?
</pre>
      </blockquote>
      <pre>
&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=PCMU,PCMA,G729,GSM&quot;/&gt;
&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;inbound_codec_prefs=PCMU,PCMA,G729,GSM&quot;/&gt;
&lt;param name=&quot;inbound-codec-prefs&quot; value=&quot;$${inbound_codec_prefs}&quot;/&gt;
&lt;param name=&quot;outbound-codec-prefs&quot; value=&quot;$${outbound_codec_prefs}&quot;/&gt;

Your previous configuration used the global list for both parameters.

global_codec_prefs isn&#39;t actually then used, there&#39;s a codec-prefs param
for convenience only that sets both inbound and outbound at the same time
and isn&#39;t actually needed if you&#39;re setting both.

-Steve



On 1 February 2013 11:18, Александр Мустафин
<a class="moz-txt-link-rfc2396E" href="mailto:mustafin.aleksandr@gmail.com">&lt;mustafin.aleksandr@gmail.com&gt;</a>wrote:

</pre>
      <blockquote type="cite">
        <pre>Hello.

My FS receive INVITE with 2 codecs in SDP: PCMA and PCMU. After hunting
dialplan, this call forwarding to IVR, and I see next message in log:

2013-01-31 01:23:22.388780 [DEBUG] sofia_glue.c:5094 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2013-01-31 01:23:22.388780 [DEBUG] sofia_glue.c:3077 Set Codec
sofia/internal/9089080908@PSTN PCMU/8000 20 ms 160 samples 64000 bits
2013-01-31 01:23:22.388780 [DEBUG] switch_core_codec.c:111
sofia/internal/9089080908@PSTN Original read codec set to PCMU:0

And FS send 200 OK to remote side with one codec in SDP: PCMU.

My parameters:

In internal.xml (profile)
&lt;param name=&quot;inbound-codec-prefs&quot; value=&quot;$${global_codec_prefs}&quot;/&gt;
&lt;param name=&quot;outbound-codec-prefs&quot; value=&quot;$${global_codec_prefs}&quot;/&gt;

In vars.xml
&lt;X-PRE-PROCESS cmd=&quot;set&quot;
data=&quot;global_codec_prefs=PCMU,PCMA,G729,G722,GSM&quot;/&gt;
&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=PCMU,PCMA,G729,GSM&quot;/&gt;
&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;inbound_codec_prefs=PCMU,PCMA,G729,GSM&quot;/&gt;

This is normal behavior?How can I manage set of codec in inbound calls?

Best regards, Alexander.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

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>
      <pre></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

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>
  

</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br>
<span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br>
<span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br>
<span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>