[SR-Users] Kamailio OPTIONS Round-Trip

Julien Chavanton jchavanton at gmail.com
Tue Jan 15 21:12:58 CET 2019


Depending on the use case, you could use the dispatcher module latency
stats.

https://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.ds_ping_latency_stats

Regards

On Tue, Jan 15, 2019 at 2:29 AM Daniel Tryba <d.tryba at pocos.nl> wrote:

> On Sun, Jan 13, 2019 at 10:08:31PM +0300, Soltanici Ilie wrote:
> > With Asterisk, we are able to get some peer round-trip connection
> statistic by setting qualify=yes for the specified peer.
> > It sends periodic OPTIONS to the peer and calculates the time round trip
> time.
> > It's something like - "Status: OK (30 ms)".
> > Is there any way to achieve this in Kamailio by using nathelper??module,
> or any other?
>
> I think the only way to do this is to make this yourself (tm). In your
> favorite scripting language, query the locations and fire OPTIONS and
> measure the time for a response (if any) on basis of the "random" callid
> you create. If you route these requests through kamailio you will
> prevent any NAT problems or connection with TCP endpoints.
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190115/4f1e1a3e/attachment.html>


More information about the sr-users mailing list