From 203d1d247ec8db0c91f2167a76b2f8f699e1b997 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 9 May 2017 14:45:06 +0200 Subject: [PATCH] add pn-silent, so that flexisip doesn't try to send a 180 by itself. --- src/android/org/linphone/LinphonePreferences.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/org/linphone/LinphonePreferences.java b/src/android/org/linphone/LinphonePreferences.java index e3bc5c336..69d1cf9b3 100644 --- a/src/android/org/linphone/LinphonePreferences.java +++ b/src/android/org/linphone/LinphonePreferences.java @@ -1104,7 +1104,7 @@ public class LinphonePreferences { String appId = getString(R.string.push_sender_id); if (regId != null && lc.getProxyConfigList().length > 0) { for (LinphoneProxyConfig lpc : lc.getProxyConfigList()) { - String contactInfos = "app-id=" + appId + ";pn-type=" + getString(R.string.push_type) + ";pn-tok=" + regId; + String contactInfos = "app-id=" + appId + ";pn-type=" + getString(R.string.push_type) + ";pn-tok=" + regId + ";pn-silent=1"; lpc.edit(); lpc.setContactUriParameters(contactInfos); lpc.done();