[Spce-user] fifo profile_get_size peerout

Mykola Zaika mzaika at voiptime.net
Thu Mar 5 07:24:56 EST 2015


Hello,

I have this option in constants.yml
kamailio
   proxy
      dlgcnt:
         central_redis_db: 3

Do I need set "kamailio.proxy.dlgcnt.central_redis_db" into config.yml ?

redis 127.0.0.1:6379> keys *
(empty list or set)

What does digit "3" mean in (redis_db: 3) ?


-- 
З повагою,
Микола Заїка
Компанія VoIPTime,
Тел: +380 32 2328022
mzaika at voiptime.net
www.voiptime.net

2015-03-02 11:58 GMT+02:00 Victor Seva <vseva at sipwise.com>:

> 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
>
>
>
> _______________________________________________
> 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/20150305/20cf15c8/attachment-0001.html>


More information about the Spce-user mailing list