[Spce-user] command ngcp-kamctl proxy

Barry Flanagan barry at flanagan.ie
Fri Jan 30 05:08:12 EST 2015


On 30 January 2015 at 09:41, Mykola Zaika <mzaika at voiptime.net> wrote:

> Hello,
> Where I can find examples of commands ngcp-kamctl proxy?
>
> ngcp-kamctl proxy fifo profile_get_size account <account_id> ## all calls
> ngcp-kamctl proxy online ## online subscribers
>
> I can`t find command wich shows status of peers.
>
>
ngcp-kamctl proxy ul show

Here is the list I keep handy:

# List subscriber call count and active calls.
ngcp-kamctl proxy fifo profile_get_size user <sub_uuid>
ngcp-kamctl proxy fifo profile_list_dlgs user <sub_uuid>

# Active Calls
ngcp-kamctl proxy fifo get_statistics :dialog::active_dialogs

# Terminate a dialog
ngcp-kamctl proxy fifo  dlg_terminate_dlg  <callid>

# ACTIVE DIALOGS:
ngcp-kamctl proxy fifo get_statistics dialog::active_dialogs


# CURRENT CALLS FROM ACCOUNT
ngcp-kamctl proxy fifo profile_get_size account <ACCOUNT_ID>


Additionally:


ngcp-kamctl proxy fifo profile_get_size account <account_id> ## all calls
for
account in+out

ngcp-kamctl proxy fifo profile_get_size accountout <account_id> ## all out
calls
per account
ngcp-kamctl proxy fifo profile_get_size total
ngcp-kamctl proxy fifo profile_get_size type relay
ngcp-kamctl proxy fifo profile_get_size type outgoing
ngcp-kamctl proxy fifo profile_get_size type local
ngcp-kamctl proxy fifo profile_get_size type incoming

ngcp-kamctl proxy fifo profile_get_size peer <peer_id> ## for
trunks,in+out,peer_id is id from DB (select * from
provisioning.voip_peer_groups;)

ngcp-kamctl proxy fifo profile_get_size peerout <peer_id>  ## all out calls
for
peer

To check the PEER id just run:

mysql> select id,name,ip from voip_peer_hosts;

# Show peers
ngcp-kamctl proxy ul show

Hope this helps.

-Barry Flanagan

Thanks.
>
> --
> З повагою,
> Микола Заїка
> Компанія VoIPTime,
> Тел: +380 32 2328022
> mzaika at voiptime.net
> www.voiptime.net
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150130/ad781336/attachment-0001.html>


More information about the Spce-user mailing list