<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Sans";
        panose-1:2 11 6 2 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML con formato previo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.EstiloCorreo19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLconformatoprevioCar
        {mso-style-name:"HTML con formato previo Car";
        mso-style-priority:99;
        mso-style-link:"HTML con formato previo";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EstiloCorreo24
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="ES" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">You are great Marco, it works.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">For export only the number of total calls (without symbols or letters) I run this: ngcp-kamctl proxy fifo stats.get_statistics active_dialogs | /bin/sed "s/[^0-9]*//g;/^\s*$/d"
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Thanks a lot!!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:ES">Saludos,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:teal;mso-fareast-language:ES">Robert Cuaresma<o:p></o:p></span></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:windowtext;mso-fareast-language:ES">De:</span></b><span style="color:windowtext;mso-fareast-language:ES"> Marco Capetta <mcapetta@sipwise.com>
<br>
<b>Enviado el:</b> jueves, 21 de febrero de 2019 8:42<br>
<b>Para:</b> Robert Cuaresma <rcuaresma@cloudcom.cat>; spce-user@lists.sipwise.com<br>
<b>Asunto:</b> Re: [Spce-user] How to get Total calls SIPSWISE 6.5.3<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><tt><span style="font-size:10.0pt">Hi Robert,</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>To have a full list of the new fifo commands, please execute "ngcp-kamctl lb fifo system.listMethods" for Kamailio LB and "ngcp-kamctl proxy fifo system.listMethods" for Kamailio PROXY.</tt><br>
<tt>For example, to have the number of the active dialogs: "ngcp-kamctl proxy fifo stats.get_statistics active_dialogs"</tt><br>
<br>
<tt>Regards,</tt><br>
<tt>Marco</tt></span><span style="mso-fareast-language:ES"><o:p></o:p></span></p>
<div>
<p class="MsoNormal">On 2/20/19 9:32 PM, Robert Cuaresma wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi!<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have upgraded SipWise 4.5.6 to 6.5.3 and by the moment all is ok. On 4.5.6 I have configured on Zabbix Agent this UserParameter to get total active calls: kamailio.totalcalls,ngcp-kamctl proxy fifo get_statistics :dialog::active_dialogs
 | sed "s/.*active_dialogs = //g", but if I run the same on 6.5.3 version doesn’t works. How can I get total calls for use with Zabbix UserParameter?</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I see that Grafana show this info but I can’t (or I don’t know how) export this to see on Zabbix Server.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thanks a lot!</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:ES">Saludos,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:14.0pt;color:teal;mso-fareast-language:ES">Robert Cuaresma</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:ES"><br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Spce-user mailing list<o:p></o:p></pre>
<pre><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><o:p></o:p></pre>
<pre><a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="mso-fareast-language:ES"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="mso-fareast-language:ES">-- <o:p></o:p></span></p>
<div style="border-top:dotted #AEB1A6 1.0pt;border-left:none;border-bottom:dotted #AEB1A6 1.0pt;border-right:none;padding:6.0pt 0cm 6.0pt 0cm;margin-top:4.5pt;margin-bottom:4.5pt">
<p class="MsoNormal" style="line-height:12.0pt"><strong><span style="font-size:7.5pt;font-family:"Lucida Sans",sans-serif;color:#333333;text-transform:uppercase;mso-fareast-language:ES">Marco Capetta
</span></strong><span style="font-size:8.5pt;font-family:"Lucida Sans",sans-serif;color:#555555;mso-fareast-language:ES"><br>
VoIP Developer <o:p></o:p></span></p>
<p style="line-height:12.0pt"><span style="font-size:8.5pt;font-family:"Lucida Sans",sans-serif;color:#555555"><a href="http://www.sipwise.com">Sipwise GmbH
</a>, Campus 21/Europaring F15<br>
AT-2345 Brunn am Gebirge <o:p></o:p></span></p>
<p style="line-height:12.0pt"><span style="font-size:8.5pt;font-family:"Lucida Sans",sans-serif;color:#555555">Phone: 
<a href="tel:+4313012044">+43(0)1 301 2044 </a><br>
Email:  <a href="mailto:mcapetta@sipwise.com">mcapetta@sipwise.com </a><br>
Website:  <a href="http://www.sipwise.com">www.sipwise.com </a><o:p></o:p></span></p>
<p style="line-height:12.0pt"><span style="font-size:8.5pt;font-family:"Lucida Sans",sans-serif;color:#555555">Particulars according Austrian Companies Code paragraph 14<br>
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge<br>
FN:305595f, Commercial Court Vienna, ATU64002206 <o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>