[Spce-user] fifo profile_get_size peerout
Victor Seva
vseva at sipwise.com
Mon Mar 2 04:58:18 EST 2015
On 03/02/2015 10:27 AM, Mykola Zaika wrote:
> Hello,
>
> I wont to know the value of calls which go via my sipwise CE (3.7.1).
> In previous version 2.6 I have no problem.
>
> I use the command
>
> root at spce:~# ngcp-kamctl proxy fifo get_statistics :dialog::active_dialogs
> dialog:active_*dialogs = 12*
>
> but when I make command
>
> root at spce:~# ngcp-kamctl proxy fifo profile_get_size peerout 8
> profile:: name=peerout value=8 *count=0*
>
> root at spce:~# ngcp-kamctl proxy fifo profile_get_size peerout 1
> profile:: name=peerout value=1 *count=0*
>
> mysql> select id,name,ip from voip_peer_hosts;
> +----+-----------------+-----------------+
> | id | name | ip |
> +----+-----------------+-----------------+
> | 1 | GSM_GW | 10.200.10.11 |
> |
>
> | 8 | 700525 | 192.168.221.200 |
> +----+-----------------+-----------------+
>
> What can be the reason of it?
>
Now we store the kamailio counters in redis that is why that command
doesn't work anymore.
You need to select the redis db set by the config.yml:
kamailio.proxy.dlgcnt.central_redis_db
the keys are peer:<id> and peerout:<id>
Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150302/cf8c9b22/attachment-0001.asc>
More information about the Spce-user
mailing list