From ed3ac2aef4f1f99a7aff9dda667fe14ce27271d2 Mon Sep 17 00:00:00 2001 From: RuhNet Date: Fri, 10 Sep 2021 22:18:27 -0400 Subject: [PATCH] Change the other expires to string (sometimes it is a string instead of int64. --- kamjsonrpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamjsonrpc.go b/kamjsonrpc.go index 19e9a59..feb84aa 100644 --- a/kamjsonrpc.go +++ b/kamjsonrpc.go @@ -190,7 +190,7 @@ type RegistrationInfo struct { type ULContact struct { Contact struct { Address string `json:"Address"` - Expires int64 `json:"Expires"` + Expires string `json:"Expires"` Q int64 `json:"Q"` CallID string `json:"Call-ID"` Cseq int64 `json:"CSeq"`