[Spce-user] How to check peer simultaneous calls

Marco Teixeira admin at marcoteixeira.com
Tue Oct 7 15:14:46 EDT 2014


Hi Barry,

Sorry for not getting back on your suggestion. Had to give it a rest for
other more urgent matters.

Would your sugestion also work for peers max calls ? Meaning, will ngcp
register those hits as well ?
(i only have peers in my setup, no subscribers)

Thank you





On Mon, Sep 8, 2014 at 1:35 PM, Barry Flanagan <barry at flanagan.ie> wrote:

> On 8 September 2014 12:35, Marco Teixeira <admin at marcoteixeira.com> wrote:
>
>> Thank you, that's a good start, but does ngcp keep track of pikes ?
>> For example, how to know if and when 30 channels have been reached ?
>> (sorry, not beeing lazy, but i searched around and couldn't find anything)
>>
>
> Not as far as I know. It would be a nice feature if the maximum channels
> used was recorded somewhere.
>
> However  ngcp does log any time a subscriber exceeds their concurrent_max
> or concurrent_max_out. You could find these by:
>
> grep "calls exceeded for caller" /var/log/ngcp/kamailio-proxy.log
>
> Hope this helps.
>
> -Barry
>
>
>>
>> ---
>> Marco Teixeira
>>
>>
>>
>>
>> On Mon, Sep 8, 2014 at 12:31 PM, Barry Flanagan <barry at flanagan.ie>
>> wrote:
>>
>>> On 8 September 2014 12:25, Marco Teixeira <admin at marcoteixeira.com>
>>> wrote:
>>>
>>>> Hello list,
>>>>
>>>> Is there way to check the number of max calls usage on a peer ?
>>>> I would like to check if i reached my max allowed channels on that
>>>> contract...
>>>>
>>>
>>> Try these:
>>>
>>> ngcp-kamctl proxy fifo profile_get_size user <sub_uuid>
>>> ngcp-kamctl proxy fifo profile_list_dlgs user <sub_uuid>
>>>
>>> ...where <sub_uuid> is the UUID of the subscriber you want to check.
>>>
>>> There is also:
>>> ngcp-kamctl proxy fifo get_statistics :dialog::active_dialogs
>>>
>>> ...which will give you total calls on the platform.
>>>
>>> Hope this helps.
>>>
>>> -Barry
>>>
>>>
>>>
>>>
>>>
>>>>
>>>> Thank you
>>>>
>>>> _______________________________________________
>>>> 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/mailman/private/spce-user_lists.sipwise.com/attachments/20141007/15a4ab7e/attachment.html>


More information about the Spce-user mailing list