From 8903f2b10172c7df2ada40b3afdd3c7c2b9ce1a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= Date: Mon, 3 Sep 2018 06:38:31 -0400 Subject: [PATCH] attempt notify on initial load --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 31596e5..1b0b851 100644 --- a/main.go +++ b/main.go @@ -287,6 +287,10 @@ func run() error { return errors.Wrap(err, "failed to run initial dispatcher set export") } + if err = s.notify(); err != nil { + log.Println("NOTICE: failed to notify kamailio after initial dispatcher export; kamailio may not be up yet:", err) + } + if err = s.maintain(ctx); err != nil { return errors.Wrap(err, "failed to maintain dispatcher sets") }