<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 30 January 2015 at 09:41, Mykola Zaika <span dir="ltr"><<a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a>></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>Hello,<br></div>Where I can find examples of commands ngcp-kamctl proxy?<br><br>ngcp-kamctl proxy fifo profile_get_size account <account_id> ## all calls<br><div><div>ngcp-kamctl proxy online ## online subscribers<br><br></div><div>I can`t find command wich shows status of peers.<br><br></div></div></div></blockquote><div><br></div><div>ngcp-kamctl proxy ul show </div><div><br></div><div>Here is the list I keep handy:</div><div><br></div><div># List subscriber call count and active calls.</div><div>ngcp-kamctl proxy fifo profile_get_size user <sub_uuid></div><div>ngcp-kamctl proxy fifo profile_list_dlgs user <sub_uuid></div><div><br></div><div># Active Calls</div><div>ngcp-kamctl proxy fifo get_statistics :dialog::active_dialogs</div><div><br></div><div># Terminate a dialog</div><div>ngcp-kamctl proxy fifo dlg_terminate_dlg <callid></div><div><br></div><div># ACTIVE DIALOGS:</div><div>ngcp-kamctl proxy fifo get_statistics dialog::active_dialogs</div><div><br></div><div><br></div><div># CURRENT CALLS FROM ACCOUNT</div><div>ngcp-kamctl proxy fifo profile_get_size account <ACCOUNT_ID></div><div><br></div><div><br></div><div>Additionally:</div><div><br></div><div><br></div><div>ngcp-kamctl proxy fifo profile_get_size account <account_id> ## all calls for</div><div>account in+out</div><div><br></div><div>ngcp-kamctl proxy fifo profile_get_size accountout <account_id> ## all out calls</div><div>per account</div><div>ngcp-kamctl proxy fifo profile_get_size total</div><div>ngcp-kamctl proxy fifo profile_get_size type relay</div><div>ngcp-kamctl proxy fifo profile_get_size type outgoing</div><div>ngcp-kamctl proxy fifo profile_get_size type local</div><div>ngcp-kamctl proxy fifo profile_get_size type incoming</div><div><br></div><div>ngcp-kamctl proxy fifo profile_get_size peer <peer_id> ## for</div><div>trunks,in+out,peer_id is id from DB (select * from</div><div>provisioning.voip_peer_groups;)</div><div><br></div><div>ngcp-kamctl proxy fifo profile_get_size peerout <peer_id> ## all out calls for</div><div>peer</div><div><br></div><div>To check the PEER id just run:</div><div><br></div><div>mysql> select id,name,ip from voip_peer_hosts;</div><div><br></div><div># Show peers</div><div>ngcp-kamctl proxy ul show </div><div><br></div><div>Hope this helps.</div><div><br></div><div>-Barry Flanagan</div><div><br></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 dir="ltr"><div><div></div><div>Thanks.<span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888"><div><br clear="all"><div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><font color="#888888">-- <br><div><div dir="ltr"><div>З повагою,</div><div>Микола Заїка<br></div><div>Компанія VoIPTime,</div><div>Тел: <span style="color:rgb(0,0,255)"><a href="tel:%2B380%2032%202328022" value="+380322328022" target="_blank">+380 32 2328022</a></span></div><div><span style="color:rgb(0,0,255)"><a href="mailto:mzaika@voiptime.net" target="_blank">mzaika@voiptime.net</a></span></div><div><span style="color:rgb(0,0,255)"><a href="http://www.voiptime.net" target="_blank">www.voiptime.net</a></span></div></div></div></font></span></div></div></div></div></div></div></div></div></div>
</div></div></font></span></div></div>
<br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br></div></div>