Skip to content

Commit

Permalink
attempt notify on initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Sep 3, 2018
1 parent d381a39 commit 8903f2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 8903f2b

Please sign in to comment.