ari
ari copied to clipboard
subscribe to channel events , get all event's of other channels
Hello i make subscribtion of event's of specific channel , but i receive events of another channel as well
channel := ca.ariClient.Channel().Get(ca.leg.Key())
sub := channel.Subscribe(ari.Events.All) go func() { for { isDone := false e := <-sub.Events() fmt.Println("---------Receive event: ---------------", e) } }
here e print all events of all channels