From 8cdceda87235a5d8d0a5c646f00828a86469a88b Mon Sep 17 00:00:00 2001 From: Emir Aganovic Date: Sun, 8 Sep 2024 14:20:47 +0200 Subject: [PATCH] fix: remove OnCancel for now as well until better API is defined --- sip/transaction.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sip/transaction.go b/sip/transaction.go index 966838a..6e95e3c 100644 --- a/sip/transaction.go +++ b/sip/transaction.go @@ -103,8 +103,7 @@ type ServerTransaction interface { Acks() <-chan *Request // Cancels is triggered when transaction is canceled, that is SIP CANCEL is received for transaction. // Cancels() <-chan *Request - - OnCancel(f func(r *Request)) + // OnCancel(f func(r *Request)) } type ClientTransaction interface {