All,
I've completed the mechanics that will allow sipxconfig to
insert location specific information into the config files replicated
onto HA distributed Servers.
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)
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}
3. sipxpark-config.vm (SipxParkConfiguration.java)
SIPX_PARK_BIND_IP : ${parkService.ipAddress}
4. sipxpresence-config.vm (SipxPresenceConfiguration.java)
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}
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)
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:$!{registrarServ
ice.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
SIP_RLS_DOMAIN_NAME : $rlsService.domainName
8. status-config.vm (SipxStatusConfiguration.java)
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