add pn-silent, so that flexisip doesn't try to send a 180 by itself.

This commit is contained in:
Simon Morlat 2017-05-09 14:45:06 +02:00
parent 7ad81d675e
commit 203d1d247e

View file

@ -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();