The solution is much more simple.. Register peers through the intermidiary
proxy using the sip PATH extension. Not only will asterisk show the
address=original IP of the peer but also the RTT.
On Tue, Jan 15, 2019, 5:29 AM Daniel Tryba <d.tryba(a)pocos.nl wrote:
On Sun, Jan 13, 2019 at 10:08:31PM +0300, Soltanici
With Asterisk, we are able to get some peer
statistic by setting qualify=yes for the specified peer.
It sends periodic OPTIONS to the peer and
calculates the time round trip
It's something like - "Status: OK (30
Is there any way to achieve this in Kamailio by using nathelper??module,
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