Here is the patch. The setup script constructs the Configuration URL with
masterSystemName. Now it is changed with masterSystemAddr. We had tried it
manually before and it was working.

Kemal

On 9 June 2011 17:13, Douglas Hubler <[email protected]> wrote:

> On Thu, Jun 9, 2011 at 9:10 AM, Levend Sayar <[email protected]>
> wrote:
> > Of course there is another solution, you can change the url in the
> > script with the ip number of master instead of master fqdn. Because
> > you already have this info.
>
> i like it. maybe you can come up with a simple patch for this.
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>
From 4913543833c482ceba51603747240db064c009ba Mon Sep 17 00:00:00 2001
From: Kemal Eroglu <[email protected]>
Date: Thu, 9 Jun 2011 17:31:47 +0300
Subject: [PATCH] XX-9672 - DNS configuration for second and third servers in HA configuration fix
 masterSystemName is changed with masterSystemAddr when constructing the Configuration URL in sipxecs-setup.

---
 sipXpbx/bin/sipxecs_setup_common.py.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sipXpbx/bin/sipxecs_setup_common.py.in b/sipXpbx/bin/sipxecs_setup_common.py.in
index a3e649b..a550c07 100644
--- a/sipXpbx/bin/sipxecs_setup_common.py.in
+++ b/sipXpbx/bin/sipxecs_setup_common.py.in
@@ -573,7 +573,7 @@ nameserver %s\n\
                 file (resolvFile, 'w').write(resolvContent)
 
             ConfigUrl='https://%s:8443/sipxconfig/initial-config/%s'\
-                       % ( masterSystemName, HostName )
+                       % ( masterSystemAddr, HostName )
 
             log_printout("======= Configuration URL '%s'" % ConfigUrl)
 
-- 
1.7.2.3

_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to