[Spce-user] Documentation for Sipwise console commands

Barry Flanagan barry at flanagan.ie
Thu Nov 26 17:21:39 EST 2015


On 26 November 2015 at 20:53, Mikhail Zhirnov <mz at sipteco.ru> wrote:

> Hello!
>
> Can somebody help to understand how to check status of SIP trunk ?
> Registered or not ?
>

Here's my cheat sheet:

#Show peers
ngcp-kamctl proxy ul show

# Subscriber 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>


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;


Debug:
ngcp-kamctl proxy fifo debug 2


Hope this helps.

-Barry Flanagan


> ______________________
> Mikhail Zhirnov
>
>
>
>
>
>
> 26.11.2015, 19:23, "Михаил Жирнов" <mz at sipteco.ru>:
>
>
> Hello!
>
> Where I can find documentation for console commands for sipwise community
> edition?
>
> I want to check status of SIP trunks and couldn't find where I can do it.
>
> ____________________
> С уважением,
> *Михаил Жирнов*
> Руководитель проектов
>
> *АТС Sipteco для клиентов и операторов связи*
> mz at sipteco.ru
> моб. *+7 (987) 274-50-52 <%2B7%20%28987%29%20274-50-52>*
>
>
> *Сайт: http://sipteco.ru <http://sipteco.ru/> *
>
> *Добавочный 1001*
> +7(495)221-60-05  Москва
> +7(812)640-95-79  Санкт-Петербург
>
>
>
>
>
>
>
>
>
>
>
> ,
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
>
> _______________________________________________
> 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/20151126/a04fb254/attachment-0001.html>


More information about the Spce-user mailing list