From fdabdba89243e6881920dcf0afc45d735aa6365a Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Fri, 18 Oct 2024 09:56:31 -0400 Subject: [PATCH] Handle Hello in calls --- cmd/calls/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/calls/main.go b/cmd/calls/main.go index 9d74318..9a63a4a 100644 --- a/cmd/calls/main.go +++ b/cmd/calls/main.go @@ -109,6 +109,9 @@ func main() { play.Play(v.Call.Audio, v.Call.AudioType) case *pb.Message_Notification: log.Println(v.Notification.Msg) + case *pb.Message_Hello: + ver := v.Hello.Version + log.Printf("server says: welcome to %s %s built %s for %s", ver.ServerName, ver.Version, ver.Built, ver.Platform) default: log.Printf("received other message not known") }