[sr-dev] git:sr_3.0: - fix bug in encode_contact()