This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The first parameter $1 must be orgs or users | |
# The second one $2 must be your username or orgnatization name | |
# The third one $3 must be your username | |
# The fourth one $4 must be your github auth token | |
# | |
# Set CNTX=users and NAME=yourusername, to download all your repositories. | |
# Set CNTX=orgs and NAME=yourorgname, to download all repositories of your organization. | |
# | |
# Script inspired by https://stackoverflow.com/questions/19576742/how-to-clone-all-repos-at-once-from-github/32833411#32833411 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void sendUnregister() { | |
try { | |
Core core = LinphoneManager.getCore(); | |
if (core != null) { | |
ProxyConfig[] proxyConfigs = core.getProxyConfigList(); | |
for (ProxyConfig config : proxyConfigs) { | |
if (config != null) { | |
config.edit(); | |
config.enablePublish(true); |