<div dir="ltr">Hello!<div>For first thank you all for time!</div><div><br></div><div><div class="gmail_extra"><div class="gmail_quote">On Sat, Jul 20, 2013 at 1:38 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr">&lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>I&#39;ll be completely honest here, the information you are giving is not really enough for us to tell you what is happening - and that&#39;s probably why you&#39;ve had very little response on this thread. </div>

</blockquote><div><br></div><div>I got this, but I&#39;ve asked which additional information I should provide, but got no answers. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div></div><div>Jeff has given you some advice on what to try - can you please test this and confirm whether or not the advice to pass CPU feature flags to the guest made any impact? </div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div><br></div><div>The FS community relies on users doing their homework.. if you were a new user attempting to do something in development then perhaps someone might hold hand you through it.. but you are asking someone to donate their time to help you fix a production problem. </div>

</blockquote><div><br></div><div>I got it, you are right, sorry my bad. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div></div><div>As for the proxy media question, a very simple Google search would have answered your question;</div><div><br></div><div><a href="https://wiki.freeswitch.org/wiki/Proxy_Media" target="_blank">https://wiki.freeswitch.org/wiki/Proxy_Media</a></div>


<div>Set proxy_media=true before the bridge.<br>&lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;</div></blockquote><div><br></div><div>Ive just confused, from this wiki info<br><br></div></div>

</div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div class="gmail_extra"><div class="gmail_quote"><div><font color="#000000" face="sans-serif"><span style="line-height:19.1875px"><i>Setting Variables for the B-leg thread-global:</i></span></font></div>

</div></div></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div class="gmail_extra"><div class="gmail_quote"><pre style="font-family:monospace,Courier;padding:1em;border:1px dashed rgb(47,111,171);color:rgb(0,0,0);background-color:rgb(249,249,249);line-height:1.3em;font-size:13px">

bridge {variable_scope=thread_global}[variable_scope=endpoint-1]&lt;target_endpoint&gt;[,[variable_scope=endpoint-2]&lt;target_endpoint&gt;][|[variable_scope=endpoint-3]&lt;target_endpoint&gt;]</pre></div></div></div></blockquote>

<div><div class="gmail_extra"><div class="gmail_quote"><div>and sets <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px">proxy_media</span> variable before bridge in {} and this was my mistake.</div>

</div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div></div><div>Again you need to do as much home work as you can /before/ posting on the mailing list, otherwise people are simply just not going to help you.</div>
<div><br></div></blockquote><div><br></div><div>I&#39;ll... Sorry for this thread!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div></div><div>Moving forward, you could try providing trace information, logs, graphs and anything else you can think of - and perhaps someone else will pick it up and help out.</div><div><span class=""><font color="#888888"><div>

<br></div></font></span><div><span class=""><font color="#888888">Cal</font></span><div><div class="h5"><br>
<br><div class="gmail_quote">On Sat, Jul 20, 2013 at 10:33 AM, Vladimir Getmanshchuk <span dir="ltr">&lt;<a href="mailto:vladget@gmail.com" target="_blank">vladget@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div dir="ltr">anyway, all stream on both legs(a and b) on all calls was in PCMA, why FS was so loaded? is it did transcoding from PCMA-to-PCMA or did ptime reframing?<div><br></div><div>please advice how to use proxy_media not globally, but only per call config.</div>




<div><br></div><div>thank you for your time.</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 20, 2013 at 12:12 PM, Vladimir Getmanshchuk <span dir="ltr">&lt;<a href="mailto:vladget@gmail.com" target="_blank">vladget@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I was wrong with my previous email, looks like issue was in proxy_media variable which I used to set before bridge string like {proxy_media=true}<span>sofia</span>/profile_name/1234567989@host:port did not enabled proxy mode for call, and only when I&#39;ve set     &lt;<span>param</span> name=&quot;inbound-proxy-media&quot; value=&quot;true&quot;/&gt; globally in sip profile performance issue was gone.</div>





<div><br></div><div>and I see <span>codecs</span> as proxy at core.db:</div><div>select read_<span>codec</span>, write_<span>codec</span> from channels limit 1;<br></div><div><div>
PROXY|PROXY</div></div><div>before it was:<br><span>PCMA</span>|<span>PCMA</span></div><div><br></div><div>so looks like variable proxy_media does not work...</div><div>any advice?</div></div><div><div>


<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 3:52 PM, Vladimir Getmanshchuk <span dir="ltr">&lt;<a href="mailto:vladget@gmail.com" target="_blank">vladget@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Ho everyone!</div><div><br></div>Looks like I&#39;ve resolve this performance issue.. I&#39;ve just comment out this two params at internal profile:<div>





    &lt;!--&lt;param name=&quot;presence-hosts&quot; value=&quot;$${domain},$${local_ip_v4}&quot;/&gt;--&gt;</div>

<div>    &lt;!--&lt;param name=&quot;presence-privacy&quot; value=&quot;$${presence_privacy}&quot;/&gt;--&gt;</div><div><br></div><div>but</div><div>     &lt;param name=&quot;manage-presence&quot; value=&quot;false&quot;/&gt;</div>







<div>it was set to false all these time...</div><div><br></div><div>does one of two variable listed above (which, I have commented out) turns the presence on again just after &lt;param name=&quot;manage-presence&quot; value=&quot;false&quot;/&gt; ? </div>







<div><br></div><div><br></div><div> </div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 10:17 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr">&lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt;</span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">If this is an urgent production problem then you might want to consider asking for professional assistance from <a href="mailto:consulting@freeswitch.org" style="color:rgb(17,85,204);font-size:13px;font-family:arial,sans-serif" target="_blank">consulting@freeswitch.org</a><div>







<br></div><div>Please report back on whether the CPU flags helped you or not.</div><div><br></div><div>Thanks</div><div><span><font color="#888888"><br>Cal</font></span><div><div><br><br><div class="gmail_quote">
On Mon, Jul 15, 2013 at 2:54 PM, Vladimir Getmanshchuk <span dir="ltr">&lt;<a href="mailto:vladget@gmail.com" target="_blank">vladget@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>it is just lcr routing in simple dialplan using lua script, which backended on postgresql (just few pgplsql functions).</div>







<div>lua script access postgresql via freeswitch:Dbh</div><div><br></div><div>


but i sure bottlenack is not pgplsql, and i guess it is not lua script.</div><div>please advice which additional information I should provide to you.</div><div><br></div><div>server currently at production, so i&#39;ll play with cpu flags this night.</div>









</div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Sat, Jul 13, 2013 at 10:16 AM, Gabriel Gunderson <span dir="ltr">&lt;<a href="mailto:gabe@gundy.org" target="_blank">gabe@gundy.org</a>&gt;</span> wrote:<br>









<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Fri, Jul 12, 2013 at 2:11 AM, Vladimir Getmanshchuk<br>


&lt;<a href="mailto:vladget@gmail.com" target="_blank">vladget@gmail.com</a>&gt; wrote:<br>
&gt; So as you can see we have only 110 calls and 70 cpu idle!<br>
&gt; Please help to find bottleneck.<br>
<br>
</div>You never actually tell us what the nature of the problem is. What,<br>
exactly, are you dealing with?<br>
<br>
BTW, we&#39;ve had decent luck with KVM, but it&#39;s never been as solid for<br>
us as bare metal.<br>
<br>
<br>
Best,<br>
Gabe<br>
<br>
_________________________________________________________________________<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><div>-- <br>Yours sincerely,<br>Vladimir Getmanshchuk
</div></div>
<br>_________________________________________________________________________<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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><br>
<br></blockquote></div><br></div></div></div>
<br>_________________________________________________________________________<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Yours sincerely,<br>Vladimir Getmanshchuk
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Yours sincerely,<br>Vladimir Getmanshchuk
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Yours sincerely,<br>Vladimir Getmanshchuk
</div>
</div></div><br>_________________________________________________________________________<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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><br>
<br></blockquote></div><br></div></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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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">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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Yours sincerely,<br>Vladimir Getmanshchuk
</div></div></div>