<a href="http://pastebin.com/CCwmAfZK">http://pastebin.com/CCwmAfZK</a><div><br></div><div><a href="http://pastebin.com/CCwmAfZK"></a>I noticed that LPC warning only comes for outbound calls I initiate using &quot;Originate&quot; API.</div>
<div><br></div><div>Malay<br><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 2:04 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">That&#39;s L16 not LPC, you need L16 to play files.<br>
Why don&#39;t you just put the whole log of the call on pastebin.<br>
<div><div></div><div class="h5"><br>
<br>
On Mon, Feb 28, 2011 at 1:53 PM, Malay Thakershi &lt;<a href="mailto:mthakershi@gmail.com">mthakershi@gmail.com</a>&gt; wrote:<br>
&gt; Following is a section from the log:<br>
&gt; ---------------------------<br>
&gt; 2011-02-28 13:36:08.294241 [DEBUG] sofia_glue.c:2760 Set Codec<br>
&gt; sofia/sipinterface_1/##########@##.##.##.## PCMU/8000 20 ms 160 samples<br>
&gt; 64000 bits<br>
&gt; 2011-02-28 13:36:15.015491 [DEBUG] switch_ivr_play_say.c:2298 OPEN TTS<br>
&gt; cepstral<br>
&gt; 2011-02-28 13:36:15.015491 [DEBUG] switch_ivr_play_say.c:2307 Raw Codec<br>
&gt; Activated<br>
&gt; 2011-02-28 13:36:15.017444 [DEBUG] switch_ivr_play_say.c:1996 Speaking text:<br>
&gt; &lt;break strength=&#39;medium&#39;/&gt;We must verify your identity.<br>
&gt; 2011-02-28 13:36:20.295426 [DEBUG] switch_ivr_play_say.c:2188 done speaking<br>
&gt; text<br>
&gt; 2011-02-28 13:36:20.295426 [DEBUG] switch_ivr_play_say.c:1244 Codec<br>
&gt; Activated L16@8000hz 1 channels 20ms<br>
&gt; 2011-02-28 13:36:25.530443 [DEBUG] switch_ivr_play_say.c:1581 done playing<br>
&gt; file<br>
&gt; 2011-02-28 13:36:25.530443 [DEBUG] switch_ivr.c:1135 Codec Activated<br>
&gt; L16@8000hz 1 channels 20ms<br>
&gt; 2011-02-28 13:36:30.549653 [DEBUG] switch_ivr_play_say.c:1244 Codec<br>
&gt; Activated L16@8000hz 1 channels 20ms<br>
&gt; ---------------------------<br>
&gt; So I see when I play a file (using StreamFile / PAGD), it activates L16,<br>
&gt; which the wiki pages says is not recommended. So should I deactivate it? If<br>
&gt; so, how?<br>
&gt; Now, I have not done any setting out of default / ordinary that comes with<br>
&gt; the build. I am playing WAV file that is generated by Cepstral SWIFT command<br>
&gt; line tool (text to WAV). The file format is &quot;Wave PCM signed 16 bit, 8000<br>
&gt; Hz, 128 kbps, mono&quot;.<br>
&gt; Thank you for help so far.<br>
&gt; Malay<br>
&gt; On Mon, Feb 28, 2011 at 12:50 PM, Anthony Minessale<br>
&gt; &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; look at your SIP traffic and console log.<br>
&gt;&gt;<br>
&gt;&gt; enter &quot;sofia global siptrace on&quot; followed by &quot;console loglevel debug&quot;<br>
&gt;&gt; at the cli and make the call.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Feb 28, 2011 at 12:47 PM, Malay Thakershi &lt;<a href="mailto:mthakershi@gmail.com">mthakershi@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; I have no idea where to look for this setting.<br>
&gt;&gt; &gt; This is in modules.conf.xml<br>
&gt;&gt; &gt;     &lt;!-- Codec Interfaces --&gt;<br>
&gt;&gt; &gt;     &lt;load module=&quot;mod_spandsp&quot;/&gt;<br>
&gt;&gt; &gt;     &lt;!--&lt;load module=&quot;mod_voipcodecs&quot;/&gt;--&gt;<br>
&gt;&gt; &gt;     &lt;load module=&quot;mod_g723_1&quot;/&gt;<br>
&gt;&gt; &gt;     &lt;load module=&quot;mod_g729&quot;/&gt;<br>
&gt;&gt; &gt;     &lt;load module=&quot;mod_amr&quot;/&gt;<br>
&gt;&gt; &gt;     &lt;load module=&quot;mod_ilbc&quot;/&gt;<br>
&gt;&gt; &gt;     &lt;load module=&quot;mod_speex&quot;/&gt;<br>
&gt;&gt; &gt;     &lt;load module=&quot;mod_h26x&quot;/&gt;<br>
&gt;&gt; &gt;     &lt;load module=&quot;mod_siren&quot;/&gt;<br>
&gt;&gt; &gt;     &lt;!--&lt;load module=&quot;mod_celt&quot;/&gt;--&gt;<br>
&gt;&gt; &gt;     &lt;!--&lt;load module=&quot;mod_opus&quot;/&gt;--&gt;<br>
&gt;&gt; &gt; Apart from settings I posted in my previous post, where else to look for<br>
&gt;&gt; &gt; disabling LPC?<br>
&gt;&gt; &gt; Malay<br>
&gt;&gt; &gt; On Mon, Feb 28, 2011 at 12:05 PM, Anthony Minessale<br>
&gt;&gt; &gt; &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; is your inbound call using LPC? you don&#39;t want to be using LPC and<br>
&gt;&gt; &gt;&gt; expect anything to sound good that&#39;s for sure.<br>
&gt;&gt; &gt;&gt; It would not just magically say that unless something you are doing has<br>
&gt;&gt; &gt;&gt; LPC?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Mon, Feb 28, 2011 at 10:24 AM, Malay Thakershi<br>
&gt;&gt; &gt;&gt; &lt;<a href="mailto:mthakershi@gmail.com">mthakershi@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; Hello,<br>
&gt;&gt; &gt;&gt; &gt; I updated to the latest FS version last week.<br>
&gt;&gt; &gt;&gt; &gt; I started getting the following warning when speech / sound is played<br>
&gt;&gt; &gt;&gt; &gt; on<br>
&gt;&gt; &gt;&gt; &gt; the<br>
&gt;&gt; &gt;&gt; &gt; call.<br>
&gt;&gt; &gt;&gt; &gt; &quot;2011-02-28 10:15:55.985930 [WARNING] sofia_glue.c:213 Codec LPC<br>
&gt;&gt; &gt;&gt; &gt; payload<br>
&gt;&gt; &gt;&gt; &gt; 7<br>
&gt;&gt; &gt;&gt; &gt; added to sdp wanting ptime 90 but it&#39;s already 20 (G7221:115:20),<br>
&gt;&gt; &gt;&gt; &gt; disabling<br>
&gt;&gt; &gt;&gt; &gt; ptime.&quot;<br>
&gt;&gt; &gt;&gt; &gt; I read sections on codecs and negotiations.<br>
&gt;&gt; &gt;&gt; &gt; Following are the settings from vars.xml (I have not changed them):<br>
&gt;&gt; &gt;&gt; &gt;   &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; data=&quot;global_codec_prefs=G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM&quot;/&gt;<br>
&gt;&gt; &gt;&gt; &gt;   &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
&gt;&gt; &gt;&gt; &gt; data=&quot;outbound_codec_prefs=PCMU,PCMA,GSM&quot;/&gt;<br>
&gt;&gt; &gt;&gt; &gt; Also, there is no codec related setting in sip_profiles files<br>
&gt;&gt; &gt;&gt; &gt; and sofia.conf.xml file.<br>
&gt;&gt; &gt;&gt; &gt; I am playing audio files using Cepstral TTS during the call.<br>
&gt;&gt; &gt;&gt; &gt; Can someone please help me understand these settings? And if they are<br>
&gt;&gt; &gt;&gt; &gt; appropriate?<br>
&gt;&gt; &gt;&gt; &gt; Thank you.<br>
&gt;&gt; &gt;&gt; &gt; Malay<br>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Anthony Minessale II<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;&gt; &gt;&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;&gt; &gt;&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; AIM: anthm<br>
&gt;&gt; &gt;&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt;&gt; &gt;&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt;&gt; &gt;&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; FreeSWITCH Developer Conference<br>
&gt;&gt; &gt;&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; pstn:+19193869900<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Anthony Minessale II<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;&gt;<br>
&gt;&gt; AIM: anthm<br>
&gt;&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt;&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt;&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH Developer Conference<br>
&gt;&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt;&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt;&gt; pstn:+19193869900<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<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" 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>
</div></div></blockquote></div><br></div>