<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>3pcc is a-priory late neg<br><br><div>--&nbsp;</div>Serge via mobile</div><div><br><div><br><br><div>--&nbsp;</div>Serge via mobile</div>On 22 нояб. 2015 г., at 21:21, Vladimir Getmanshchuk &lt;<a href="mailto:vladget@gmail.com">vladget@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">inherit_codec works only with late negotiation enabled (disabled by default)<div><a href="https://wiki.freeswitch.org/wiki/Codec_Negotiation#Late_Negotiation_.28requires_param.29">https://wiki.freeswitch.org/wiki/Codec_Negotiation#Late_Negotiation_.28requires_param.29</a><br></div><div><br></div><div>check you sofia profiles for this param.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 12, 2015 at 7:03 PM, Serge S. Yuriev <span dir="ltr">&lt;<a href="mailto:me@nevian.org" target="_blank">me@nevian.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>I think problem is in function
      inherit_codec in switch_ivr_originate.c<br>
      It checks codecs from both sides but not taking in account 3pcc
      mode and obviously can't find any matches.<div><div class="h5"><br>
      <br>
      On 06/11/15 21:38, Michael Jerris wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      
      do you have the mod loaded for g729?
      <div><br>
        <div>
          <blockquote type="cite">
            <div>On Nov 6, 2015, at 12:23 PM, Serge S. Yuriev
              &lt;<a href="mailto:me@nevian.org" target="_blank">me@nevian.org</a>&gt; wrote:</div>
            <br>
            <div>
              
              <div text="#000000" bgcolor="#FFFFFF">
                <div>But why? I won't any
                  transcoding, both we and peer supporting g.729.<br>
                  But in case of completely independent negotiation we
                  will choose g.722 and they g.729.<br>
                  <br>
                  On 06/11/15 19:31, Sergey Safarov wrote:<br>
                </div>
                <blockquote type="cite">
                  <p dir="ltr">Try with PCM codec. G729 may
                    require license in your case.</p>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr">On Fri, Nov 6, 2015,
                      19:19&nbsp;Serge S. Yuriev &lt;<a href="mailto:me@nevian.org" target="_blank"></a><a href="mailto:me@nevian.org" target="_blank">me@nevian.org</a>&gt;

                      wrote:<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
                      <br>
                      Our PBX sending INVITEs w/o SDP so we set enable
                      3pcc=proxy<br>
                      In dialplan I have set inherit_codec=true<br>
                      <br>
                      We receive from peer:<br>
                      <br>
                      &nbsp; &nbsp; m=audio 43512 RTP/AVP 18 101<br>
                      &nbsp; &nbsp; a=rtpmap:18 G729/8000<br>
                      &nbsp; &nbsp; a=fmtp:18 annexb=no<br>
                      &nbsp; &nbsp; a=rtpmap:101 telephone-event/8000<br>
                      &nbsp; &nbsp; a=fmtp:101 0-15<br>
                      &nbsp; &nbsp; a=ptime:20<br>
                      <br>
                      <br>
                      But FS refuses to send this to Caller<br>
                      <br>
                      2015-11-06 19:00:06.331944 [DEBUG]
                      switch_ivr_originate.c:416 Codec<br>
                      string G729@8000h@20i not supported on
                      sofia/internal/<a href="mailto:12550@10.0.64.63" target="_blank">12550@10.0.64.63</a>,<br>
                      skipping inheritance<br>
                      <br>
                      But why while there is no SDP from A side? PBX
                      definitely supports G729.<br>
                    </blockquote>
                  </div>
                </blockquote>
                <br>
                <pre cols="72">-- 
Serge S. Yuriev
Lead VoIP engineer

</pre>
              </div>
_________________________________________________________________________<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>
              Official FreeSWITCH Sites<br>
              <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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></div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    <pre cols="72">-- 
Serge S. Yuriev
Lead VoIP engineer

</pre>
  </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"><div><br></div>-- <br><div class="gmail_signature">Yours sincerely,<br>Vladimir Getmanshchuk</div>
</div>
</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>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.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></div></blockquote></div></body></html>