Paul Mcdaid wrote:
> All,
>         I've completed the mechanics that will allow sipxconfig to
> insert location specific information into the config files replicated
> onto HA distributed Servers.

Let's call it server-specific (location has different connotations: we are
dealing with a single HA-cluster of servers here). Internally we use the
term "location" for a "server", but most people reading this e-mail does
not read sipXconfig code.

> 
>         the following variables are in Location.java and will be used to
> set the location information into the config files.
> 
> m_address       - Location IP Address 
> m_fqdn             - Location FQDN
> m_hostname     - Location hostname (first field in FQDN)
> m_realm           - Location realm (remaining portion of FQDN, with
> hostname removed)

The realm is the same for all servers on the cluster (it's not
server/location specific). And it does not have to be "remaining portion of
FQDN": that's just a default value. But it can be pretty much anything.

Also please note that in all cases domain name below means SIP domain name
- which makes it not location specific (only one SIP domain name per
cluster). I tried to mark some of them as not-server-specific below, but
you should take another look.

> 
> I have reviewed all of the config files and here is a list of entries I
> think should be location specific. Can the appropriate component owners
> go through this list and check to see if the config files replicated to
> the Distributed Servers should contain the DS IP Address etc. or should
> it contain the Master information?
> 
> 
> _*1. callresolver-config.vm/ (SipxCallResolverConfiguration.java)/*_
> 
>         SIP_CALLRESOLVER_AGENT_ADDR : ${callresolverService.ipAddress}
> 
> _*2. sipxivr.properties.vm*__*/ (SipxIvrConfiguration.java)/*_
> 
>         ivr.operatorAddr=sip:[EMAIL PROTECTED]
>         ivr.sipxchangeDomainName=${service.domainName}
>         ivr.voicemailUrl=${service.voicemailUrl}

not server specific - there is only one SIP domain name and one
voicemailUrl in the cluster

> 
> 
> _*3. sipxpark-config.vm*__*/ (SipxParkConfiguration.java)/*_
> 
>         SIPX_PARK_BIND_IP : ${parkService.ipAddress}
> 
> _*4. sipxpresence-config.vm*__*/ (SipxPresenceConfiguration.java)/*_
> 

those two are not server-specific


>         SIPX_PRESENCE_AUTHENTICATE_REALM : ${presenceService.realm}
>         SIPX_PRESENCE_DOMAIN_NAME : ${presenceService.domainName}


>         SIPX_PRESENCE_BIND_IP : ${presenceService.ipAddress}
> 
> _*5. sipXproxy-config.vm*__*/ (SipxProxyConfiguration.java)/*_
> 
>         SIPX_PROXY_BIND_IP : ${proxyService.ipAddress}
>         SIPX_PROXY_HOST_ALIASES :
> ${proxyService.ipAddress}:${proxyService.sipPort}
> ${proxyService.hostname}:${proxyService.sipPort}
> ${proxyService.fullHostname}:${proxyService.sipPort}
> ${proxyService.sipSrvOrHostport}
> 

those two are not server-specific:


>         SIPX_PROXY_AUTHENTICATE_REALM : ${proxyService.realm}
>         SIPX_PROXY_DOMAIN_NAME : ${proxyService.domainName}
>         SIPX_PROXY_HOSTPORT :
> ${proxyService.ipAddress}:${proxyService.sipPort}
> 
> 
> _*6. sipxregistrar-config.vm*__*/ (SipxRegistrarConfiguration.java)/*_

domainName and realm below not server specific

> 
>         SIP_REGISTRAR_BIND_IP : $!{registrarService.ipAddress}
>         SIP_REGISTRAR_AUTHENTICATE_REALM : $!{registrarService.realm}
>         SIP_REGISTRAR_DOMAIN_NAME : $!{registrarService.domainName}
>         SIP_REGISTRAR_DOMAIN_ALIASES :
> $settings.getSetting('domain').getSetting('SIP_REGISTRAR_DOMAIN_ALIASES').value
> 
>         SIP_REDIRECT.140-MAPPING.MEDIA_SERVER :
> $!{registrarService.mediaServerSipSrvOrHostport};transport=tcp
>        ___//__/ SIP_REDIRECT.140-MAPPING.VOICEMAIL_SERVER :
> https%3A%2F%2Flocalhost%3A$!{registrarService.voicemailHttpsPort}/_
>         SIP_REDIRECT.150-FALLBACK.MEDIA_SERVER :
> $!{registrarService.mediaServerSipSrvOrHostport};transport=tcp
>        ___//__/ SIP_REDIRECT.150-MAPPING.VOICEMAIL_SERVER :
> https%3A%2F%2Flocalhost%3A$!{registrarService.voicemailHttpsPort}/_
>         SIP_REDIRECT.180-PICKUP.PARK_SERVCE :
> $!{registrarService.domainName};transport=tcp?Route=sip:$!{registrarService.orbitServerSipSrvOrHostPort}
> 
>         SIP_REDIRECT.999-AUTHROUTER.SIPX_PROXY :
> $!{registrarService.proxyServerSipHostport};transport=tcp
>         SIP_REGISTRAR_NAME : $!{registrarService.fullHostname}
> 
>         Note: I'm not sure about the underlined entries as they refer to
> localhost. Also, if the voicemail server doesn't run on any DS, then we
> don't need to change these.
> 
> _*7. sipxrls-config.vm*__*/ (SipxRlsConfiguration.java)/*_
> 
>         SIP_RLS_BIND_IP : $rlsService.ipAddress

not server-specific:

>         SIP_RLS_DOMAIN_NAME : $rlsService.domainName
> 
> _*8. status-config.vm*__*/ (SipxStatusConfiguration.java)/*_
> 

those two are not server-specific:

>         SIP_STATUS_AUTHENTICATE_REALM : $!{statusService.realm}
>         SIP_STATUS_DOMAIN_NAME : $!{statusService.domainName}
>         SIP_STATUS_HTTP_VALID_IPS : $!{statusService.ipAddress}
>         SIP_STATUS_BIND_IP : $!{statusService.ipAddress}
> 
> _*9. mediaserver-config.vm*__*/ (SipxMediaConfiguration.java)/*_
> 
>         mediaserver.bindip        VIXString    ${mediaService.ipAddress}
> 

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to