Fix issue with outbound proxy if proxy contains <>
This commit is contained in:
parent
f882ad1b01
commit
2722927aba
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ public class LinphonePreferences {
|
||||||
LinphoneProxyConfig prxCfg = getProxyConfig(n);
|
LinphoneProxyConfig prxCfg = getProxyConfig(n);
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
String route = prxCfg.getProxy();
|
String route = prxCfg.getProxy();
|
||||||
if (!route.startsWith("sip:")) {
|
if (!route.contains("sip:")) {
|
||||||
route = "sip:" + route;
|
route = "sip:" + route;
|
||||||
}
|
}
|
||||||
prxCfg.setRoute(route);
|
prxCfg.setRoute(route);
|
||||||
|
|
Loading…
Reference in a new issue