[Spce-user] Grafana problems

Daniel Grotti dgrotti at sipwise.com
Wed Dec 13 05:22:38 EST 2017


Hi Stefano,
that's strange.
What you can do is the following, in sequence (when no calls are active, 
so dlg_list is empty):


1. Stop kamailio proxy
2. check in mysql kamailio.dialog table, if there are any entries. 
Delete them, if any
3. restart kamailio proxy

That should help.
Cheers,

-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: dgrotti at sipwise.com
Website: https://www.sipwise.com

On 12/13/2017 06:55 AM, stefanormc wrote:
> It doesn’t look like a graffata issue; how can I get rid of the 3 
> ‘ghost’ active dialogs?
>
>
>
> centrale03:~# ngcp-kamctl proxy fifo get_statistics 
> :dialog::active_dialogs
>
> dialog:active_dialogs = 3
>
> centrale03:~# ngcp-kamctl proxy fifo dlg_list
>
> centrale03:~#
>
>
>
> On 12 December 2017 at 22:43:52, stefanormc (stefanormc at gmail.com 
> <mailto:stefanormc at gmail.com>) wrote:
>
>> Is this log correct?
>>
>> Seems to me it reports 4 dialogs but I then see only one call
>>
>> centrale03:~# ngcp-sync-grafana-datasources
>>
>> perl: warning: Setting locale failed.
>>
>> perl: warning: Please check that your locale settings:
>>
>> LANGUAGE = "en_US:en",
>>
>> LC_ALL = (unset),
>>
>> LC_CTYPE = "UTF-8",
>>
>> LANG = "en_US.UTF-8"
>>
>>   are supported and installed on your system.
>>
>> perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
>>
>> Trying to connect to grafana API: ok
>>
>> centrale03:~# ngcp-kamctl proxy fifo get_statistics 
>> :dialog::active_dialogs
>>
>> dialog:active_dialogs = 4
>>
>> centrale03:~# ngcp-kamctl proxy fifo dlg_list
>>
>> dialog:: hash=657:4250
>>
>> state:: 4
>>
>> ref_count:: 2
>>
>> timestart:: 1513109066
>>
>> timeout:: 63690067
>>
>> callid:: 1c09fa79457783dc0d42900c65318860 at c.voceblu.it 
>> <mailto:1c09fa79457783dc0d42900c65318860 at c.voceblu.it>
>>
>> from_uri:: sip:01119889829 at c.voceblu.it 
>> <mailto:sip%3A01119889829 at c.voceblu.it>
>>
>> from_tag:: as04f16365
>>
>> caller_contact:: sip:01119889829 at 94.125.235.57:5060 
>> <http://sip:01119889829@94.125.235.57:5060>
>>
>> caller_cseq:: 103
>>
>> caller_route_set:: 
>> <sip:127.0.0.1;r2=on;lr=on;ftag=as04f16365;ngcplb=yes;socket=udp:94.125.235.56:5060 
>> <http://94.125.235.56:5060>>,<sip:94.125.235.56;r2=on;lr=on;ftag=as04f16365;ngcplb=yes;socket=udp:94.125.235.56:5060 
>> <http://94.125.235.56:5060>>
>>
>> caller_bind_addr:: udp:127.0.0.1:5062 <http://127.0.0.1:5062>
>>
>> callee_bind_addr:: udp:127.0.0.1:5062 <http://127.0.0.1:5062>
>>
>> to_uri:: sip:0239352324 at c.voceblu.it 
>> <mailto:sip%3A0239352324 at c.voceblu.it>
>>
>> to_tag:: 46AE05AF-5A303646000E279D-1615F700
>>
>> callee_contact:: sip:127.0.0.1:5080;transport=udp
>>
>> callee_cseq:: 0
>>
>> callee_route_set::
>>
>> centrale03:~#
>>
>>
>>
>> On 12 December 2017 at 18:58:46, stefanormc (stefanormc at gmail.com 
>> <mailto:stefanormc at gmail.com>) wrote:
>>
>>> #ngcp-sync-grafana-datasources

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20171213/bf15ba2b/attachment-0001.html>


More information about the Spce-user mailing list