       <target name="update.serverindex.xml">
       
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="PROXY_HTTP_ADDRESS"/>
        		<param name="portValue" value="${PROXY_HTTP_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;PROXY_HTTP_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;PROXY_HTTP_ADDRESS&quot;>\1\2\3port=&quot;${PROXY_HTTP_ADDRESS}&quot;"/>
		</antcall>
		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="PROXY_HTTPS_ADDRESS"/>
        		<param name="portValue" value="${PROXY_HTTPS_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;PROXY_HTTPS_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;PROXY_HTTPS_ADDRESS&quot;>\1\2\3port=&quot;${PROXY_HTTPS_ADDRESS}&quot;"/>
		</antcall>			
		
		<antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="PROXY_SIP_ADDRESS"/>
        		<param name="portValue" value="${PROXY_SIP_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;PROXY_SIP_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;PROXY_SIP_ADDRESS&quot;>\1\2\3port=&quot;${PROXY_SIP_ADDRESS}&quot;"/>
		</antcall>
		
		<antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="PROXY_SIPS_ADDRESS"/>
        		<param name="portValue" value="${PROXY_SIPS_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;PROXY_SIPS_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;PROXY_SIPS_ADDRESS&quot;>\1\2\3port=&quot;${PROXY_SIPS_ADDRESS}&quot;"/>
		</antcall>
		
		<antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="IPC_CONNECTOR_ADDRESS"/>
        		<param name="portValue" value="${IPC_CONNECTOR_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;IPC_CONNECTOR_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;IPC_CONNECTOR_ADDRESS&quot;>\1\2\3port=&quot;${IPC_CONNECTOR_ADDRESS}&quot;"/>
		</antcall>
		
		<antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="BOOTSTRAP_ADDRESS"/>
        		<param name="portValue" value="${BOOTSTRAP_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;BOOTSTRAP_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;BOOTSTRAP_ADDRESS&quot;>\1\2\3port=&quot;${BOOTSTRAP_ADDRESS}&quot;"/>
		</antcall>
    </target>
