Misc (re #1945): re r5530, reset SIP transport port setting to SIP_PORT before saving the configs.

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5531 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Nanang Izzuddin 2017-01-18 10:44:49 +00:00
parent c40e9b5861
commit fffe8ea945
1 changed files with 3 additions and 0 deletions

View File

@ -393,6 +393,9 @@ class MyApp {
System.out.println(e);
}
/* Set SIP port back to default for JSON saved config */
sipTpConfig.setPort(SIP_PORT);
/* Create accounts. */
for (int i = 0; i < accCfgs.size(); i++) {
MyAccountConfig my_cfg = accCfgs.get(i);