]> git.ipfire.org Git - ipfire.org.git/commit
asterisk: roundtrip: Don't fail on no value
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Jul 2023 15:35:14 +0000 (15:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Jul 2023 15:36:07 +0000 (15:36 +0000)
commitdf3e4d317bfbd1da2f411bbb8c7736c4b1812fb1
tree6e013493ae672e1d989b9977db375c2eb80e8f20
parent9741abf5df2cbabc75468e6973a25f9bdbe3aa68
asterisk: roundtrip: Don't fail on no value

If the peer could not be reached, RoundtripUsec contains "N/A" which we
will now catch and return nothing instead.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/asterisk.py
src/templates/voip/modules/registrations.html