vase_to_nokia_post_proxy {
	if (&proxy-reply:Alc-Retail-Serv-Id && \
	    &proxy-reply:Alc-Subsc-Prof-Str && \
	    &proxy-reply:Alc-SLA-Prof-Str) {
	    ###################################################
	    #
	    # Nokia: IPTV
	    #
	    ###################################################
	    if (&proxy-reply:Alc-Retail-Serv-Id == 201 && \
		&proxy-reply:Alc-Subsc-Prof-Str == "VEON_STB_sub_p" && \
		&proxy-reply:Alc-SLA-Prof-Str == "S-IPTV") {
		update proxy-reply {
		    ###################################################
		    #
		    # Vase: IPTV - AUTH
		    #
		    ###################################################
		    &Framed-Pool := "IPTV"
		    &VasExperts-Policing-Profile := "IPTV"
		    &VasExperts-Multi-IP-User := 1
		    &VasExperts-Service-Profile := "254:vrf-iptv"
		    &VasExperts-Enable-Service := "9:off"
		    &Session-Timeout := 86410
		}
	    }
	    ###################################################
	    #
	    # Nokia: AUTH
	    #
	    ###################################################
	    elsif (&proxy-reply:Alc-Retail-Serv-Id == 202 && \
		&proxy-reply:Alc-Subsc-Prof-Str == "VEON_CPE_sub_p" && \
		&proxy-reply:Alc-SLA-Prof-Str == "S-UNLIM") {
		update proxy-reply {
		    ###################################################
		    #
		    # Vase: INET - AUTH
		    #
		    ###################################################
		    &Framed-Pool := "INET"
		    &VasExperts-Policing-Profile := "BV##100000#100000#+++-++++"
		    &VasExperts-Multi-IP-User := 1
		    &VasExperts-Service-Profile := "254:vrf-inet"
		    &VasExperts-Service-Profile := "11:CGNAT-INET"
		    &VasExperts-Service-Profile := "13:20905"
		    &VasExperts-Enable-Service := "9:on"
		    &Session-Timeout := 432010
		}
	    }
	    ###################################################
	    #
	    # Nokia: BLOCK
	    #
	    ###################################################
	    elsif (&proxy-reply:Alc-Retail-Serv-Id == 203 && \
		&proxy-reply:Alc-Subsc-Prof-Str == "VEON_CPE_sub_p" && \
		&proxy-reply:Alc-SLA-Prof-Str == "S-BLOCK") {
		update proxy-reply {
		    ###################################################
		    #
		    # Vase: LOCAL - BLOCKED
		    #
		    ###################################################
		    &Framed-Pool := "LOCAL"
		    &VasExperts-Policing-Profile := "BLOCK"
		    &VasExperts-Multi-IP-User := 1
		    &VasExperts-Service-Profile := "16:BV##/var/lib/dpi/BLOCK/BLOCK.bin#http://83.102.180.162:80"
		    &VasExperts-Service-Profile := "254:vrf-local"
		    &VasExperts-Enable-Service := "9:on"
		    &Session-Timeout := 86410
		}
	    }
	    ###################################################
	    #
	    # Nokia: UNAUTH
	    #
	    ###################################################
	    elsif (&proxy-reply:Alc-Retail-Serv-Id == 203 && \
		&proxy-reply:Alc-Subsc-Prof-Str == "VEON_CPE_sub_p" && \
		&proxy-reply:Alc-SLA-Prof-Str == "S-UNKNOWN") {
		update proxy-reply {
		    ###################################################
		    #
		    # Vase: LOCAL - UNKNOWN
		    #
		    ###################################################
		    &Framed-Pool := "LOCAL"
		    &VasExperts-Policing-Profile := "UNKNOWN"
		    &VasExperts-Multi-IP-User := 1
		    &VasExperts-Service-Profile := "16:BV##/var/lib/dpi/UNKNOWN/UNKNOWN.bin#http://83.102.180.167:80"
		    &VasExperts-Service-Profile := "254:vrf-local"
		    &VasExperts-Enable-Service := "9:on"
		    &Session-Timeout := 86410
		}
	    }
	    ###################################################
	    #
	    # Nokia: STATIC
	    #
	    ###################################################
	    elsif (&proxy-reply:Alc-Retail-Serv-Id == 204 && \
		&proxy-reply:Alc-Subsc-Prof-Str == "VEON_CPE_sub_p" && \
		&proxy-reply:Alc-SLA-Prof-Str == "S-UNLIM") {
		update proxy-reply {
		    ###################################################
		    #
		    # Vase: STATIC - AUTH
		    #
		    ###################################################
		    &VasExperts-Policing-Profile := "BV##100000#100000#+++-++++"
		    &VasExperts-Multi-IP-User := 1
		    &VasExperts-Service-Profile := "254:vrf-static"
		    &VasExperts-Enable-Service := "9:on"
		    &Session-Timeout := 432010
		}
	    }
	    else {
		invalid
	    }
	    ###################################################
	    #
	    # Save attributes to State for Accounting
	    #
	    ###################################################
	    update proxy-reply {
		&State += "Alc-Subsc-Prof-Str|%{proxy-reply:Alc-Subsc-Prof-Str}"
		&State += "Alc-SLA-Prof-Str|%{proxy-reply:Alc-SLA-Prof-Str}"
	    }
	}
}
